clang: clang::MMToken Struct Reference (original) (raw)

A token in a module map file. More...

Public Types
enum TokenKind { Comma, ConfigMacros, Conflict, EndOfFile, HeaderKeyword, Identifier, Exclaim, ExcludeKeyword, ExplicitKeyword, ExportKeyword, ExportAsKeyword, ExternKeyword, FrameworkKeyword, LinkKeyword, ModuleKeyword, Period, PrivateKeyword, UmbrellaKeyword, UseKeyword, RequiresKeyword, Star, StringLiteral, IntegerLiteral, TextualKeyword, LBrace, RBrace, LSquare, RSquare }
Public Member Functions
void clear ()
bool is (TokenKind K) const
SourceLocation getLocation () const
uint64_t getInteger () const
StringRef getString () const
Public Attributes
enum clang::MMToken::TokenKind Kind
SourceLocation::UIntTy Location
unsigned StringLength
union {
const char * StringData
uint64_t IntegerValue
};

A token in a module map file.

Definition at line 1466 of file ModuleMap.cpp.

TokenKind

Enumerator
Comma
ConfigMacros
Conflict
EndOfFile
HeaderKeyword
Identifier
Exclaim
ExcludeKeyword
ExplicitKeyword
ExportKeyword
ExportAsKeyword
ExternKeyword
FrameworkKeyword
LinkKeyword
ModuleKeyword
Period
PrivateKeyword
UmbrellaKeyword
UseKeyword
RequiresKeyword
Star
StringLiteral
IntegerLiteral
TextualKeyword
LBrace
RBrace
LSquare
RSquare

Definition at line 1467 of file ModuleMap.cpp.

clear()

void clang::MMToken::clear ( ) inline

getInteger()

uint64_t clang::MMToken::getInteger ( ) const inline

getLocation()

getString()

StringRef clang::MMToken::getString ( ) const inline

is()

union { ... } clang::MMToken::@356

IntegerValue

uint64_t clang::MMToken::IntegerValue

Kind

Location

StringData

const char* clang::MMToken::StringData

StringLength


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