clang API Documentation
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. |
Simple structure to hold information for one token from the parser.
Definition at line 29 of file ASTMatchers/Dynamic/Parser.cpp.
Different possible tokens.
TK_Eof | |
TK_OpenParen | |
TK_CloseParen | |
TK_Comma | |
TK_Period | |
TK_Literal | |
TK_Ident | |
TK_InvalidChar | |
TK_Error | |
TK_CodeCompletion |
Definition at line 31 of file ASTMatchers/Dynamic/Parser.cpp.
Definition at line 47 of file ASTMatchers/Dynamic/Parser.cpp.
const char *const clang::ast_matchers::dynamic::Parser::TokenInfo::ID_Bind = "bind" [static] |
Some known identifiers.
Definition at line 45 of file ASTMatchers/Dynamic/Parser.cpp.
Definition at line 50 of file ASTMatchers/Dynamic/Parser.cpp.
Referenced by clang::ast_matchers::dynamic::Parser::CodeTokenizer::nextTokenKind(), and clang::ast_matchers::dynamic::Parser::parseExpression().
Definition at line 51 of file ASTMatchers/Dynamic/Parser.cpp.
Referenced by clang::ast_matchers::dynamic::Parser::parseExpression().
Definition at line 49 of file ASTMatchers/Dynamic/Parser.cpp.
Definition at line 52 of file ASTMatchers/Dynamic/Parser.cpp.