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

    Interface SyntaxCase<T>

    A source and its expected notation result under an optional draft context.

    interface SyntaxCase<T extends string> {
        id: string;
        title: string;
        tags: readonly T[];
        provenance: CaseProvenance;
        kind: Syntax;
        notation: string;
        text: string;
        context?: SyntaxContext;
        expected: SyntaxExpectation;
    }

    Type Parameters

    • T extends string

    Hierarchy (View Summary)

    Index
    id: string
    title: string
    tags: readonly T[]
    provenance: CaseProvenance
    kind: Syntax
    notation: string
    text: string
    context?: SyntaxContext