interface SwitchStatement {
    cases: SwitchCase[];
    discriminant: Expression;
    leadingComments?: Comment[];
    loc?: null | SourceLocation;
    range?: [number, number];
    trailingComments?: Comment[];
    type: "SwitchStatement";
}

Hierarchy (View Summary)

Properties

cases: SwitchCase[]
discriminant: Expression
leadingComments?: Comment[]
loc?: null | SourceLocation
range?: [number, number]
trailingComments?: Comment[]
type: "SwitchStatement"