clang 22.0.0git
clang::TokenValue Class Reference

Stores token information for comparing actual tokens with predefined values. More...

#include "clang/Lex/Preprocessor.h"

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 93 of file Preprocessor.h.

Constructor & Destructor Documentation

◆ TokenValue() [1/2]

clang::TokenValue::TokenValue ( tok::TokenKind Kind)
inline

◆ TokenValue() [2/2]

clang::TokenValue::TokenValue ( IdentifierInfo * II)
inline

Definition at line 106 of file Preprocessor.h.

Member Function Documentation

◆ operator==()

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

Definition at line 108 of file Preprocessor.h.

References Tok.


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