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

    Interface Subject<A, T>

    The package or procedure being checked, with its declared completeness class.

    interface Subject<A extends string, T extends string> {
        name: string;
        completeOn?: T;
        member(
            operand: Operand,
            word: readonly string[],
            budget: Budget,
        ): Observed<A>;
        question(
            question: string,
            operands: readonly Operand[],
            budget: Budget,
        ): Observed<A>;
        translate(
            translation: string,
            operands: readonly Operand[],
            budget: Budget,
        ): TranslationObservation;
        syntax(
            notation: string,
            text: string,
            context: SyntaxContext,
        ): SyntaxExpectation;
    }

    Type Parameters

    • A extends string
    • T extends string
    Index
    name: string
    completeOn?: T
    • Parameters

      Returns Observed<A>