clang API Documentation
A token in a module map file. More...

Public Types | |
| enum | TokenKind { Comma, EndOfFile, HeaderKeyword, Identifier, ExplicitKeyword, ExportKeyword, FrameworkKeyword, ModuleKeyword, Period, UmbrellaKeyword, RequiresKeyword, Star, StringLiteral, 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 451 of file ModuleMap.cpp.
| Comma | |
| EndOfFile | |
| HeaderKeyword | |
| Identifier | |
| ExplicitKeyword | |
| ExportKeyword | |
| FrameworkKeyword | |
| ModuleKeyword | |
| Period | |
| UmbrellaKeyword | |
| RequiresKeyword | |
| Star | |
| StringLiteral | |
| LBrace | |
| RBrace | |
| LSquare | |
| RSquare |
Definition at line 452 of file ModuleMap.cpp.
| void clang::MMToken::clear | ( | ) | [inline] |
Definition at line 476 of file ModuleMap.cpp.
| PathDiagnosticLocation PathDiagnostic::getLocation | ( | ) | const [inline] |
Definition at line 485 of file ModuleMap.cpp.
References clang::SourceLocation::getFromRawEncoding().
Referenced by clang::ModuleMapParser::parseModuleMapFile().
| std::string MemRegion::getString | ( | ) | const [inline] |
Definition at line 489 of file ModuleMap.cpp.
| bool clang::MMToken::is | ( | TokenKind | K | ) | const [inline] |
Definition at line 483 of file ModuleMap.cpp.
Referenced by clang::ModuleMapParser::parseModuleMapFile().
| unsigned clang::MMToken::Location |
Definition at line 472 of file ModuleMap.cpp.
| const char* clang::MMToken::StringData |
Definition at line 474 of file ModuleMap.cpp.
| unsigned clang::MMToken::StringLength |
Definition at line 473 of file ModuleMap.cpp.