class TokenValue
Declaration
class TokenValue { /* full declaration omitted */ };
Description
Stores token information for comparing actual tokens with predefined values. Only handles simple tokens and identifiers.
Declared at: clang/include/clang/Lex/Preprocessor.h:90
Member Variables
- private tok::TokenKind Kind
- private clang::IdentifierInfo* II
Method Overview
- public TokenValue(tok::TokenKind Kind)
- public TokenValue(clang::IdentifierInfo * II)
Methods
¶TokenValue(tok::TokenKind Kind)
TokenValue(tok::TokenKind Kind)
Declared at: clang/include/clang/Lex/Preprocessor.h:95
Parameters
- tok::TokenKind Kind
¶TokenValue(clang::IdentifierInfo* II)
TokenValue(clang::IdentifierInfo* II)
Declared at: clang/include/clang/Lex/Preprocessor.h:103