clang 20.0.0git
|
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.
Definition at line 1467 of file ModuleMap.cpp.
|
inline |
Definition at line 1508 of file ModuleMap.cpp.
References EndOfFile, Kind, Location, StringData, and StringLength.
Referenced by clang::ModuleMapParser::ModuleMapParser().
|
inline |
Definition at line 1521 of file ModuleMap.cpp.
References IntegerValue, and Kind.
|
inline |
Definition at line 1517 of file ModuleMap.cpp.
References clang::SourceLocation::getFromRawEncoding(), and Location.
Referenced by clang::ModuleMapParser::getLocation(), and clang::ModuleMapParser::parseModuleMapFile().
|
inline |
Definition at line 1525 of file ModuleMap.cpp.
References Kind, StringData, and StringLength.
Definition at line 1515 of file ModuleMap.cpp.
References Kind.
union { ... } clang::MMToken::@354 |
uint64_t clang::MMToken::IntegerValue |
Definition at line 1505 of file ModuleMap.cpp.
Referenced by getInteger().
enum clang::MMToken::TokenKind clang::MMToken::Kind |
Referenced by clear(), getInteger(), getString(), is(), and clang::ModuleMapParser::parseModuleMapFile().
SourceLocation::UIntTy clang::MMToken::Location |
Definition at line 1498 of file ModuleMap.cpp.
Referenced by clear(), and getLocation().
const char* clang::MMToken::StringData |
Definition at line 1502 of file ModuleMap.cpp.
Referenced by clear(), and getString().
unsigned clang::MMToken::StringLength |
Definition at line 1499 of file ModuleMap.cpp.
Referenced by clear(), and getString().