clang API Documentation

Public Types | Public Member Functions | Public Attributes
clang::MMToken Struct Reference

A token in a module map file. More...

Collaboration diagram for clang::MMToken:
Collaboration graph
[legend]

List of all members.

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

Detailed Description

A token in a module map file.

Definition at line 944 of file ModuleMap.cpp.


Member Enumeration Documentation

Enumerator:
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 

Definition at line 945 of file ModuleMap.cpp.


Member Function Documentation

void clang::MMToken::clear ( ) [inline]

Definition at line 978 of file ModuleMap.cpp.

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.


Member Data Documentation

Definition at line 974 of file ModuleMap.cpp.

Definition at line 976 of file ModuleMap.cpp.

Definition at line 975 of file ModuleMap.cpp.


The documentation for this struct was generated from the following file: