interface ConditionalExpression {
    alternate: Expression;
    consequent: Expression;
    end?: null | number;
    extra?: Record<string, unknown>;
    innerComments?: null | Comment[];
    leadingComments?: null | Comment[];
    loc?: null | SourceLocation;
    range?: [number, number];
    start?: null | number;
    test: Expression;
    trailingComments?: null | Comment[];
    type: "ConditionalExpression";
}

Hierarchy (view full)

Properties

alternate: Expression
consequent: Expression
end?: null | number
extra?: Record<string, unknown>
innerComments?: null | Comment[]
leadingComments?: null | Comment[]
loc?: null | SourceLocation
range?: [number, number]
start?: null | number
trailingComments?: null | Comment[]
type: "ConditionalExpression"