clang API Documentation
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 944 of file ModuleMap.cpp.
Definition at line 945 of file ModuleMap.cpp.
| void clang::MMToken::clear | ( | ) | [inline] |
Definition at line 978 of file ModuleMap.cpp.
| SourceLocation clang::MMToken::getLocation | ( | ) | const [inline] |
Definition at line 987 of file ModuleMap.cpp.
References clang::SourceLocation::getFromRawEncoding().
Referenced by clang::ModuleMapParser::parseModuleMapFile().
| StringRef clang::MMToken::getString | ( | ) | const [inline] |
Definition at line 991 of file ModuleMap.cpp.
| bool clang::MMToken::is | ( | TokenKind | K | ) | const [inline] |
Definition at line 985 of file ModuleMap.cpp.
Referenced by clang::ModuleMapParser::parseModuleMapFile().
Definition at line 974 of file ModuleMap.cpp.
| const char* clang::MMToken::StringData |
Definition at line 976 of file ModuleMap.cpp.
Definition at line 975 of file ModuleMap.cpp.