interface BinaryExpression {
    end?: null | number;
    extra?: Record<string, unknown>;
    innerComments?: null | Comment[];
    leadingComments?: null | Comment[];
    left: PrivateName | Expression;
    loc?: null | SourceLocation;
    operator: "*" | "+" | "-" | "/" | "%" | "**" | "&" | "|" | ">>" | ">>>" | "<<" | "^" | "==" | "===" | "!=" | "!==" | "in" | "instanceof" | ">" | "<" | ">=" | "<=" | "|>";
    range?: [number, number];
    right: Expression;
    start?: null | number;
    trailingComments?: null | Comment[];
    type: "BinaryExpression";
}

Hierarchy (view full)

Properties

end?: null | number
extra?: Record<string, unknown>
innerComments?: null | Comment[]
leadingComments?: null | Comment[]
loc?: null | SourceLocation
operator: "*" | "+" | "-" | "/" | "%" | "**" | "&" | "|" | ">>" | ">>>" | "<<" | "^" | "==" | "===" | "!=" | "!==" | "in" | "instanceof" | ">" | "<" | ">=" | "<=" | "|>"
range?: [number, number]
right: Expression
start?: null | number
trailingComments?: null | Comment[]
type: "BinaryExpression"