|
clang
5.0.0
|
Simple structure to hold information for one token from the parser. More...
Public Types | |
| enum | TokenKind { TK_Eof, TK_OpenParen, TK_CloseParen, TK_Comma, TK_Period, TK_Literal, TK_Ident, TK_InvalidChar, TK_Error, TK_CodeCompletion } |
| Different possible tokens. More... | |
Public Member Functions | |
| TokenInfo () | |
Public Attributes | |
| StringRef | Text |
| TokenKind | Kind |
| SourceRange | Range |
| VariantValue | Value |
Static Public Attributes | |
| static const char *const | ID_Bind = "bind" |
| Some known identifiers. More... | |
Simple structure to hold information for one token from the parser.
Definition at line 28 of file Parser.cpp.
Different possible tokens.
| Enumerator | |
|---|---|
| TK_Eof | |
| TK_OpenParen | |
| TK_CloseParen | |
| TK_Comma | |
| TK_Period | |
| TK_Literal | |
| TK_Ident | |
| TK_InvalidChar | |
| TK_Error | |
| TK_CodeCompletion | |
Definition at line 30 of file Parser.cpp.
|
inline |
Definition at line 46 of file Parser.cpp.
|
static |
Some known identifiers.
Definition at line 44 of file Parser.cpp.
| TokenKind clang::ast_matchers::dynamic::Parser::TokenInfo::Kind |
Definition at line 49 of file Parser.cpp.
Referenced by clang::ast_matchers::dynamic::Parser::CodeTokenizer::nextTokenKind(), and clang::ast_matchers::dynamic::Parser::parseExpression().
| SourceRange clang::ast_matchers::dynamic::Parser::TokenInfo::Range |
Definition at line 50 of file Parser.cpp.
Referenced by clang::ast_matchers::dynamic::Parser::parseExpression().
| StringRef clang::ast_matchers::dynamic::Parser::TokenInfo::Text |
Definition at line 48 of file Parser.cpp.
| VariantValue clang::ast_matchers::dynamic::Parser::TokenInfo::Value |
Definition at line 51 of file Parser.cpp.
1.8.6