clang API Documentation
Stores token information for comparing actual tokens with predefined values. Only handles simple tokens and identifiers. More...
#include <Preprocessor.h>
Public Member Functions | |
TokenValue (tok::TokenKind Kind) | |
TokenValue (IdentifierInfo *II) | |
bool | operator== (const Token &Tok) const |
Stores token information for comparing actual tokens with predefined values. Only handles simple tokens and identifiers.
Definition at line 63 of file Preprocessor.h.
clang::TokenValue::TokenValue | ( | tok::TokenKind | Kind | ) | [inline] |
Definition at line 68 of file Preprocessor.h.
References clang::tok::isAnnotation(), and clang::tok::isLiteral().
clang::TokenValue::TokenValue | ( | IdentifierInfo * | II | ) | [inline] |
Definition at line 75 of file Preprocessor.h.
Definition at line 76 of file Preprocessor.h.
References clang::Token::getIdentifierInfo(), and clang::Token::getKind().