Interface Value

interface Value {
    id: string;
    inner?: Node[];
    kind:
        | "CStyleCastExpr"
        | "ImplicitCastExpr"
        | "ArraySubscriptExpr"
        | "CallExpr"
        | "CharacterLiteral"
        | "CompoundLiteralExpr"
        | "ConditionalOperator"
        | "ConstantExpr"
        | "FloatingLiteral"
        | "ImplicitValueInitExpr"
        | "InitListExpr"
        | "IntegerLiteral"
        | "ParenExpr"
        | "PredefinedExpr"
        | "StmtExpr"
        | "StringLiteral"
        | "UnaryExprOrTypeTraitExpr";
    name?: string;
    range?: { begin: clang.Location; end: clang.Location };
    type: {
        desugaredQualType?: string;
        qualType: string;
        typeAliasDeclId?: string;
    };
    value?: string;
    valueCategory: ValueCategory;
}

Hierarchy (View Summary)

Properties

id: string

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

inner?: Node[]
kind:
    | "CStyleCastExpr"
    | "ImplicitCastExpr"
    | "ArraySubscriptExpr"
    | "CallExpr"
    | "CharacterLiteral"
    | "CompoundLiteralExpr"
    | "ConditionalOperator"
    | "ConstantExpr"
    | "FloatingLiteral"
    | "ImplicitValueInitExpr"
    | "InitListExpr"
    | "IntegerLiteral"
    | "ParenExpr"
    | "PredefinedExpr"
    | "StmtExpr"
    | "StringLiteral"
    | "UnaryExprOrTypeTraitExpr"

The kind of the node

name?: string
range?: { begin: clang.Location; end: clang.Location }
type: { desugaredQualType?: string; qualType: string; typeAliasDeclId?: string }
value?: string
valueCategory: ValueCategory