class TranslationUnit
Declaration
class TranslationUnit : public Tree { /* full declaration omitted */ };
Description
A root node for a translation unit. Parent is always null.
Declared at: build/tools/clang/include/clang/Tooling/Syntax/NodeClasses.inc:435
Inherits from: Tree
Member Variables
Method Overview
- public TranslationUnit()
- public static bool classof(const clang::syntax::Node * N)
Inherited from Tree:
- public classof
- public findChild
- public findChild
- public findFirstLeaf
- public findFirstLeaf
- public findLastLeaf
- public findLastLeaf
- public getChildren
- public getChildren
- public getFirstChild
- public getFirstChild
- public getLastChild
- public getLastChild
Inherited from Node:
- public assertInvariants
- public assertInvariantsRecursive
- public canModify
- public dump
- public dumpTokens
- public getKind
- public getNextSibling
- public getNextSibling
- public getParent
- public getParent
- public getPreviousSibling
- public getPreviousSibling
- public getRole
- public isDetached
- public isOriginal
Methods
¶TranslationUnit()
TranslationUnit()
Declared at: build/tools/clang/include/clang/Tooling/Syntax/NodeClasses.inc:437
¶static bool classof(const clang::syntax::Node* N)
static bool classof(const clang::syntax::Node* N)
Declared at: build/tools/clang/include/clang/Tooling/Syntax/NodeClasses.inc:438
Parameters
- const clang::syntax::Node* N