Interface Declaration

interface Declaration {
    completeDefinition?: boolean;
    id: string;
    init?: "c";
    inner?: Node[];
    isBitfield?: boolean;
    isImplicit?: boolean;
    isReferenced?: boolean;
    isUsed?: boolean;
    kind:
        | "EnumConstantDecl"
        | "EnumDecl"
        | "FieldDecl"
        | "FunctionDecl"
        | "IndirectFieldDecl"
        | "ParmVarDecl"
        | "StaticAssertDecl"
        | "RecordDecl"
        | "TranslationUnitDecl"
        | "TypedefDecl"
        | "VarDecl";
    loc: clang.Location;
    mangledName?: string;
    name: string;
    parentDeclContextId?: string;
    range?: { begin: clang.Location; end: clang.Location };
    storageClass?: clang.StorageClass;
    tagUsed?: "struct" | "union";
    type: {
        desugaredQualType?: string;
        qualType: string;
        typeAliasDeclId?: string;
    };
    variadic?: boolean;
}

Hierarchy (View Summary)

Properties

completeDefinition?: boolean
id: string

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

init?: "c"
inner?: Node[]
isBitfield?: boolean

Only on fields

isImplicit?: boolean
isReferenced?: boolean
isUsed?: boolean
kind:
    | "EnumConstantDecl"
    | "EnumDecl"
    | "FieldDecl"
    | "FunctionDecl"
    | "IndirectFieldDecl"
    | "ParmVarDecl"
    | "StaticAssertDecl"
    | "RecordDecl"
    | "TranslationUnitDecl"
    | "TypedefDecl"
    | "VarDecl"

The kind of the node

mangledName?: string
name: string
parentDeclContextId?: string
range?: { begin: clang.Location; end: clang.Location }
storageClass?: clang.StorageClass
tagUsed?: "struct" | "union"
type: { desugaredQualType?: string; qualType: string; typeAliasDeclId?: string }
variadic?: boolean

Only on functions