TOC Toolkit API - v0.1.0
    Preparing search index...

    Interface TwoStackInput<Q, A, G1, G2>

    Both initial words and every stack reference belong to their own declaration (D25).

    interface TwoStackInput<
        Q extends NonEmptyNames,
        A extends readonly string[],
        G1 extends readonly string[],
        G2 extends readonly string[],
    > {
        states: Q;
        alphabet: A;
        stackAlphabet1: G1;
        stackAlphabet2: G2;
        start: NoInfer<Q[number]>;
        accept: readonly NoInfer<Q[number]>[];
        initialStack1: readonly NoInfer<G1[number]>[];
        initialStack2: readonly NoInfer<G2[number]>[];
        transitions: readonly TwoStackTransition<
            NoInfer<Q[number]>,
            NoInfer<A[number]>,
            NoInfer<G1[number]>,
            NoInfer<G2[number]>,
        >[];
    }

    Type Parameters

    • Q extends NonEmptyNames
    • A extends readonly string[]
    • G1 extends readonly string[]
    • G2 extends readonly string[]
    Index
    states: Q
    alphabet: A
    stackAlphabet1: G1
    stackAlphabet2: G2
    start: NoInfer<Q[number]>
    accept: readonly NoInfer<Q[number]>[]
    initialStack1: readonly NoInfer<G1[number]>[]
    initialStack2: readonly NoInfer<G2[number]>[]
    transitions: readonly TwoStackTransition<
        NoInfer<Q[number]>,
        NoInfer<A[number]>,
        NoInfer<G1[number]>,
        NoInfer<G2[number]>,
    >[]