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 1448 of file ModuleMap.cpp.
Definition at line 1449 of file ModuleMap.cpp.
|
inline |
Definition at line 1490 of file ModuleMap.cpp.
References EndOfFile, Kind, Location, StringData, and StringLength.
Referenced by clang::ModuleMapParser::ModuleMapParser().
|
inline |
Definition at line 1503 of file ModuleMap.cpp.
References IntegerValue, and Kind.
|
inline |
Definition at line 1499 of file ModuleMap.cpp.
References clang::SourceLocation::getFromRawEncoding(), and Location.
Referenced by clang::ModuleMapParser::getLocation(), and clang::ModuleMapParser::parseModuleMapFile().
|
inline |
Definition at line 1507 of file ModuleMap.cpp.
References Kind, StringData, and StringLength.
Definition at line 1497 of file ModuleMap.cpp.
References Kind.
union { ... } clang::MMToken::@353 |
uint64_t clang::MMToken::IntegerValue |
Definition at line 1487 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 1480 of file ModuleMap.cpp.
Referenced by clear(), and getLocation().
const char* clang::MMToken::StringData |
Definition at line 1484 of file ModuleMap.cpp.
Referenced by clear(), and getString().
unsigned clang::MMToken::StringLength |
Definition at line 1481 of file ModuleMap.cpp.
Referenced by clear(), and getString().