cxx-frontend
    Preparing search index...

    Class TranslationUnitAST

    TranslationUnitAST node.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    parser: TranslationUnitLike

    the parser that owns the AST node.

    Methods

    • 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.

    • 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.