clang API Documentation

Public Member Functions
clang::TokenValue Class Reference

Stores token information for comparing actual tokens with predefined values. Only handles simple tokens and identifiers. More...

#include <Preprocessor.h>

List of all members.

Public Member Functions

 TokenValue (tok::TokenKind Kind)
 TokenValue (IdentifierInfo *II)
bool operator== (const Token &Tok) const

Detailed Description

Stores token information for comparing actual tokens with predefined values. Only handles simple tokens and identifiers.

Definition at line 63 of file Preprocessor.h.


Constructor & Destructor Documentation

Definition at line 68 of file Preprocessor.h.

References clang::tok::isAnnotation(), and clang::tok::isLiteral().

Definition at line 75 of file Preprocessor.h.


Member Function Documentation

bool clang::TokenValue::operator== ( const Token Tok) const [inline]

Definition at line 76 of file Preprocessor.h.

References clang::Token::getIdentifierInfo(), and clang::Token::getKind().


The documentation for this class was generated from the following file: