clang API Documentation

Public Types | Public Member Functions | Static Public Member Functions
clang::MultiKeywordSelector Class Reference
Inheritance diagram for clang::MultiKeywordSelector:
Inheritance graph
[legend]
Collaboration diagram for clang::MultiKeywordSelector:
Collaboration graph
[legend]

List of all members.

Public Types

typedef IdentifierInfo *const * keyword_iterator

Public Member Functions

 MultiKeywordSelector (unsigned nKeys, IdentifierInfo **IIV)
std::string getName () const
unsigned getNumArgs () const
keyword_iterator keyword_begin () const
keyword_iterator keyword_end () const
IdentifierInfogetIdentifierInfoForSlot (unsigned i) const
void Profile (llvm::FoldingSetNodeID &ID)

Static Public Member Functions

static void Profile (llvm::FoldingSetNodeID &ID, keyword_iterator ArgTys, unsigned NumArgs)

Detailed Description

MultiKeywordSelector - One of these variable length records is kept for each selector containing more than one keyword. We use a folding set to unique aggregate names (keyword selectors in ObjC parlance). Access to this class is provided strictly through Selector.

Definition at line 291 of file IdentifierTable.cpp.


Member Typedef Documentation

Definition at line 313 of file IdentifierTable.cpp.


Constructor & Destructor Documentation

clang::MultiKeywordSelector::MultiKeywordSelector ( unsigned  nKeys,
IdentifierInfo **  IIV 
) [inline]

Definition at line 298 of file IdentifierTable.cpp.


Member Function Documentation

IdentifierInfo* clang::MultiKeywordSelector::getIdentifierInfoForSlot ( unsigned  i) const [inline]

Definition at line 320 of file IdentifierTable.cpp.

Referenced by clang::Selector::getIdentifierInfoForSlot().

std::string MultiKeywordSelector::getName ( ) const

Definition at line 362 of file IdentifierTable.cpp.

References keyword_begin(), and keyword_end().

Referenced by clang::Selector::getAsString().

unsigned clang::MultiKeywordSelector::getNumArgs ( ) const [inline]

Definition at line 311 of file IdentifierTable.cpp.

Referenced by clang::Selector::getNumArgs().

keyword_iterator clang::MultiKeywordSelector::keyword_begin ( ) const [inline]

Definition at line 314 of file IdentifierTable.cpp.

Referenced by getName().

keyword_iterator clang::MultiKeywordSelector::keyword_end ( ) const [inline]

Definition at line 317 of file IdentifierTable.cpp.

Referenced by getName().

static void clang::MultiKeywordSelector::Profile ( llvm::FoldingSetNodeID &  ID,
keyword_iterator  ArgTys,
unsigned  NumArgs 
) [inline, static]

Definition at line 324 of file IdentifierTable.cpp.

References NumArgs.

Referenced by clang::SelectorTable::getSelector().

void clang::MultiKeywordSelector::Profile ( llvm::FoldingSetNodeID &  ID) [inline]

Definition at line 330 of file IdentifierTable.cpp.


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