Interface Statement

interface Statement {
    id: string;
    inner: Node[];
    kind:
        | "AttributedStmt"
        | "BreakStmt"
        | "CaseStmt"
        | "CompoundStmt"
        | "DeclStmt"
        | "DefaultStmt"
        | "DoStmt"
        | "ForStmt"
        | "NullStmt"
        | "ReturnStmt"
        | "SwitchStmt"
        | "WhileStmt";
    name?: string;
    range?: { begin: clang.Location; end: clang.Location };
    type: {
        desugaredQualType?: string;
        qualType: string;
        typeAliasDeclId?: string;
    };
}

Hierarchy (View Summary)

Properties

id: string

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

inner: Node[]
kind:
    | "AttributedStmt"
    | "BreakStmt"
    | "CaseStmt"
    | "CompoundStmt"
    | "DeclStmt"
    | "DefaultStmt"
    | "DoStmt"
    | "ForStmt"
    | "NullStmt"
    | "ReturnStmt"
    | "SwitchStmt"
    | "WhileStmt"

The kind of the node

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