interface IfStatement {
    alternate?: null | Statement;
    consequent: Statement;
    leadingComments?: Comment[];
    loc?: null | SourceLocation;
    range?: [number, number];
    test: Expression;
    trailingComments?: Comment[];
    type: "IfStatement";
}

Hierarchy (View Summary)

Properties

alternate?: null | Statement
consequent: Statement
leadingComments?: Comment[]
loc?: null | SourceLocation
range?: [number, number]
trailingComments?: Comment[]
type: "IfStatement"