comma::Scope Class Reference

#include <Scope.h>

Collaboration diagram for comma::Scope:
Collaboration graph
[legend]

List of all members.

Classes

class  Entry

Public Member Functions

 Scope ()
 ~Scope ()
ScopeKind getKind () const
unsigned getLevel () const
unsigned numEntries () const
void push (ScopeKind kind=BASIC_SCOPE)
void pop ()
DecladdDirectDecl (Decl *decl)
void addDirectDeclNoConflicts (Decl *decl)
bool addImport (DomainType *type)
ResolvergetResolver ()
 Returns a cleared (empty) Resolver object to be used for lookups.
void dump () const

Detailed Description

Definition at line 33 of file Scope.h.


Constructor & Destructor Documentation

Scope::Scope (  ) 

Definition at line 180 of file Scope.cpp.

Scope::~Scope (  ) 

Definition at line 186 of file Scope.cpp.


Member Function Documentation

Decl * Scope::addDirectDecl ( Decl decl  ) 

Definition at line 239 of file Scope.cpp.

void Scope::addDirectDeclNoConflicts ( Decl decl  ) 

Definition at line 248 of file Scope.cpp.

bool Scope::addImport ( DomainType type  ) 

Definition at line 225 of file Scope.cpp.

void Scope::dump (  )  const

Definition at line 286 of file Scope.cpp.

ScopeKind Scope::getKind (  )  const

Definition at line 191 of file Scope.cpp.

unsigned comma::Scope::getLevel (  )  const [inline]

Definition at line 48 of file Scope.h.

Resolver& comma::Scope::getResolver (  )  [inline]

Returns a cleared (empty) Resolver object to be used for lookups.

Definition at line 81 of file Scope.h.

unsigned comma::Scope::numEntries (  )  const [inline]

Definition at line 51 of file Scope.h.

void Scope::pop (  ) 

Definition at line 210 of file Scope.cpp.

void Scope::push ( ScopeKind  kind = BASIC_SCOPE  ) 

Definition at line 196 of file Scope.cpp.


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

Generated on 1 Feb 2010 for Comma by  doxygen 1.6.1