Interface Attribute

interface Attribute {
    id: string;
    implicit?: boolean;
    inherited?: boolean;
    inner?: Node[];
    kind:
        | "AlignedAttr"
        | "AllocAlignAttr"
        | "AllocSizeAttr"
        | "AsmLabelAttr"
        | "BuiltinAttr"
        | "C11NoReturnAttr"
        | "ColdAttr"
        | "ConstAttr"
        | "FallThroughAttr"
        | "FormatArgAttr"
        | "FormatAttr"
        | "NoThrowAttr"
        | "NonNullAttr"
        | "PureAttr"
        | "RestrictAttr"
        | "ReturnsNonNullAttr"
        | "ReturnsTwiceAttr"
        | "SentinelAttr"
        | "WarnUnusedResultAttr";
    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..."

implicit?: boolean
inherited?: boolean
inner?: Node[]
kind:
    | "AlignedAttr"
    | "AllocAlignAttr"
    | "AllocSizeAttr"
    | "AsmLabelAttr"
    | "BuiltinAttr"
    | "C11NoReturnAttr"
    | "ColdAttr"
    | "ConstAttr"
    | "FallThroughAttr"
    | "FormatArgAttr"
    | "FormatAttr"
    | "NoThrowAttr"
    | "NonNullAttr"
    | "PureAttr"
    | "RestrictAttr"
    | "ReturnsNonNullAttr"
    | "ReturnsTwiceAttr"
    | "SentinelAttr"
    | "WarnUnusedResultAttr"

The kind of the node

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