comma::ScopeEntry Class Reference

#include <Scope.h>

List of all members.

Public Types

typedef DeclSet::const_iterator DirectIterator
typedef
ImportVector::const_iterator 
ImportIterator

Public Member Functions

 ScopeEntry (ScopeKind kind, unsigned tag)
void initialize (ScopeKind kind, unsigned tag)
ScopeKind getKind () const
unsigned getTag () const
void addDirectDecl (Decl *decl)
void removeDirectDecl (Decl *decl)
void removeImportDecl (Decl *decl)
unsigned numDirectDecls () const
bool containsDirectDecl (IdentifierInfo *name)
bool containsDirectDecl (Decl *decl)
void addImportDecl (DomainType *type)
unsigned numImportDecls () const
bool containsImportDecl (IdentifierInfo *name)
bool containsImportDecl (DomainType *type)
DirectIterator beginDirectDecls () const
DirectIterator endDirectDecls () const
ImportIterator beginImportDecls () const
ImportIterator endImportDecls () const
void clear ()


Detailed Description

Definition at line 31 of file Scope.h.


Member Typedef Documentation

typedef DeclSet::const_iterator comma::ScopeEntry::DirectIterator

Definition at line 83 of file Scope.h.

typedef ImportVector::const_iterator comma::ScopeEntry::ImportIterator

Definition at line 88 of file Scope.h.


Constructor & Destructor Documentation

comma::ScopeEntry::ScopeEntry ( ScopeKind  kind,
unsigned  tag 
) [inline]

Definition at line 40 of file Scope.h.


Member Function Documentation

void ScopeEntry::addDirectDecl ( Decl decl  ) 

Definition at line 42 of file Scope.cpp.

void ScopeEntry::addImportDecl ( DomainType type  ) 

Definition at line 123 of file Scope.cpp.

DirectIterator comma::ScopeEntry::beginDirectDecls (  )  const [inline]

Definition at line 84 of file Scope.h.

ImportIterator comma::ScopeEntry::beginImportDecls (  )  const [inline]

Definition at line 89 of file Scope.h.

void ScopeEntry::clear (  ) 

Definition at line 137 of file Scope.cpp.

bool comma::ScopeEntry::containsDirectDecl ( Decl decl  )  [inline]

Definition at line 70 of file Scope.h.

bool ScopeEntry::containsDirectDecl ( IdentifierInfo name  ) 

Definition at line 81 of file Scope.cpp.

bool ScopeEntry::containsImportDecl ( DomainType type  ) 

Definition at line 24 of file Scope.cpp.

bool ScopeEntry::containsImportDecl ( IdentifierInfo name  ) 

Definition at line 33 of file Scope.cpp.

DirectIterator comma::ScopeEntry::endDirectDecls (  )  const [inline]

Definition at line 85 of file Scope.h.

ImportIterator comma::ScopeEntry::endImportDecls (  )  const [inline]

Definition at line 90 of file Scope.h.

ScopeKind comma::ScopeEntry::getKind (  )  const [inline]

Definition at line 51 of file Scope.h.

unsigned comma::ScopeEntry::getTag (  )  const [inline]

Definition at line 53 of file Scope.h.

void comma::ScopeEntry::initialize ( ScopeKind  kind,
unsigned  tag 
) [inline]

Definition at line 45 of file Scope.h.

unsigned comma::ScopeEntry::numDirectDecls (  )  const [inline]

Definition at line 62 of file Scope.h.

unsigned comma::ScopeEntry::numImportDecls (  )  const [inline]

Definition at line 77 of file Scope.h.

void ScopeEntry::removeDirectDecl ( Decl decl  ) 

Definition at line 51 of file Scope.cpp.

void ScopeEntry::removeImportDecl ( Decl decl  ) 

Definition at line 66 of file Scope.cpp.


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

Generated on Sun Aug 16 02:46:25 2009 for Comma by  doxygen 1.5.8