ΒΆsyntax::Leaf* createLeaf(
syntax::Arena& A,
clang::syntax::TokenBufferTokenManager& TBTM,
tok::TokenKind K)
syntax::Leaf* createLeaf(
syntax::Arena& A,
clang::syntax::TokenBufferTokenManager& TBTM,
tok::TokenKind K)
Description
Infer the token spelling from its `TokenKind`, then create `Leaf` from this token
Declared at: clang/include/clang/Tooling/Syntax/BuildTree.h:38
Parameters
- syntax::Arena& A
- clang::syntax::TokenBufferTokenManager& TBTM
- tok::TokenKind K