clang
3.9.0
|
A token in a module map file. More...
Public Types | |
enum | TokenKind { Comma, ConfigMacros, Conflict, EndOfFile, HeaderKeyword, Identifier, Exclaim, ExcludeKeyword, ExplicitKeyword, ExportKeyword, ExternKeyword, FrameworkKeyword, LinkKeyword, ModuleKeyword, Period, PrivateKeyword, UmbrellaKeyword, UseKeyword, RequiresKeyword, Star, StringLiteral, TextualKeyword, LBrace, RBrace, LSquare, RSquare } |
Public Member Functions | |
void | clear () |
bool | is (TokenKind K) const |
SourceLocation | getLocation () const |
StringRef | getString () const |
Public Attributes | |
enum clang::MMToken::TokenKind | Kind |
unsigned | Location |
unsigned | StringLength |
const char * | StringData |
A token in a module map file.
Definition at line 955 of file ModuleMap.cpp.
Definition at line 956 of file ModuleMap.cpp.
|
inline |
Definition at line 989 of file ModuleMap.cpp.
References EndOfFile, Location, StringData, and StringLength.
Referenced by clang::ModuleMapParser::ModuleMapParser().
|
inline |
Definition at line 998 of file ModuleMap.cpp.
References clang::SourceLocation::getFromRawEncoding(), and Location.
Referenced by clang::ModuleMapParser::parseModuleMapFile().
|
inline |
Definition at line 1002 of file ModuleMap.cpp.
References StringData, and StringLength.
Definition at line 996 of file ModuleMap.cpp.
enum clang::MMToken::TokenKind clang::MMToken::Kind |
Referenced by clang::ModuleMapParser::parseModuleMapFile().
unsigned clang::MMToken::Location |
Definition at line 985 of file ModuleMap.cpp.
Referenced by clear(), and getLocation().
const char* clang::MMToken::StringData |
Definition at line 987 of file ModuleMap.cpp.
Referenced by clear(), and getString().
unsigned clang::MMToken::StringLength |
Definition at line 986 of file ModuleMap.cpp.
Referenced by clear(), and getString().