class Leaf
Declaration
class Leaf : public Node { /* full declaration omitted */ };
Description
A leaf node points to a single token.
Declared at: clang/include/clang/Tooling/Syntax/Tree.h:132
Inherits from: Node
Member Variables
- private TokenManager::Key K
Method Overview
- public Leaf(TokenManager::Key K)
- public static bool classof(const clang::syntax::Node * N)
- public TokenManager::Key getTokenKey() const
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
¶Leaf(TokenManager::Key K)
Leaf(TokenManager::Key K)
Declared at: clang/include/clang/Tooling/Syntax/Tree.h:134
Parameters
- TokenManager::Key K
¶static bool classof(const clang::syntax::Node* N)
static bool classof(const clang::syntax::Node* N)
Declared at: clang/include/clang/Tooling/Syntax/Tree.h:135
Parameters
- const clang::syntax::Node* N
¶TokenManager::Key getTokenKey() const
TokenManager::Key getTokenKey() const
Declared at: clang/include/clang/Tooling/Syntax/Tree.h:137