Class AttributeAST

AttributeAST node.

Hierarchy (View Summary)

  • AST
    • AttributeAST

Constructors

  • Constructs an AST node.

    Parameters

    • handle: number

      the handle of the AST node.

    • kind: ASTKind

      the kind of the AST node.

    • parser: TranslationUnitLike

      the parser that owns the AST node.

    Returns AttributeAST

Properties

parser: TranslationUnitLike

the parser that owns the AST node.

Methods

  • Returns the location of the ellipsis token in this node

    Returns undefined | Token

  • Returns the handle of the AST node.

    Returns number

    the handle of the AST node.

  • Returns true if the AST node is of the given kind.

    Parameters

    Returns boolean

    true if the AST node is of the given kind.

  • Returns true if the AST node is not of the given kind.

    Parameters

    Returns boolean

    true if the AST node is not of the given kind.

  • Returns the cursor of the AST node.

    The cursor is used to traverse the AST.

    Returns ASTCursor

    the cursor of the AST node.

  • Constructs an AST node from the given handle.

    Type Parameters

    Parameters

    • handle: number

      the handle of the AST node.

    • parser: TranslationUnitLike

      the parser that owns the AST node.

    Returns undefined | T

    the AST node.