Function Graph Overview
    Preparing search index...

    Type Alias CaseCollectionCallbacks

    type CaseCollectionCallbacks = {
        getCases(switchSyntax: Node): Node[];
        parseCase(
            caseSyntax: Node,
        ): {
            isDefault: boolean;
            consequence: SyntaxNode[];
            hasFallthrough: boolean;
        };
    }
    Index

    Methods

    • Parameters

      • switchSyntax: Node

      Returns Node[]

    • Parameters

      • caseSyntax: Node

      Returns { isDefault: boolean; consequence: SyntaxNode[]; hasFallthrough: boolean }