Interface BinaryOperator

interface BinaryOperator {
    canOverflow?: boolean;
    id: string;
    inner: Node[];
    isPostfix?: boolean;
    kind: "BinaryOperator";
    name?: string;
    opcode:
        | "+"
        | "-"
        | "&"
        | "*"
        | "/"
        | "%"
        | "=="
        | "!="
        | "<="
        | "^"
        | "|"
        | "&&"
        | "||"
        | "<<"
        | ">>"
        | "<"
        | ">"
        | ","
        | "__extension__";
    range?: { begin: clang.Location; end: clang.Location };
    type: {
        desugaredQualType?: string;
        qualType: string;
        typeAliasDeclId?: string;
    };
}

Hierarchy (View Summary)

Properties

canOverflow?: boolean
id: string

Hexadecimal ID for the node, e.g. "0x..."

inner: Node[]
isPostfix?: boolean
kind: "BinaryOperator"

The kind of the node

name?: string
opcode:
    | "+"
    | "-"
    | "&"
    | "*"
    | "/"
    | "%"
    | "=="
    | "!="
    | "<="
    | "^"
    | "|"
    | "&&"
    | "||"
    | "<<"
    | ">>"
    | "<"
    | ">"
    | ","
    | "__extension__"
range?: { begin: clang.Location; end: clang.Location }
type: { desugaredQualType?: string; qualType: string; typeAliasDeclId?: string }