Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

cbl::codetree::scopes::TScopeStack Class Reference

#include

List of all members.


Public Methods

  TScopeStack ()
TScope scope () const
  returns the current scope. More...

void  enterScope (TScope *)
  pushes the given scope to the scope stack wich is equivalent for entering a new scope. More...

void  leaveScope ()
  leaves current scope depth simply by popping the top of the scope stack (without deleting it!). More...


Detailed Description

TScopeStack is an utility class for handling the scope depth while parsing the input source.

Definition at line 27 of file scopestack.h.


Constructor & Destructor Documentation

cbl::codetree::scopes::TScopeStack::TScopeStack  
 


Member Function Documentation

void cbl::codetree::scopes::TScopeStack::enterScope TScope  
 

pushes the given scope to the scope stack wich is equivalent for entering a new scope.

void cbl::codetree::scopes::TScopeStack::leaveScope  
 

leaves current scope depth simply by popping the top of the scope stack (without deleting it!).

TScope* cbl::codetree::scopes::TScopeStack::scope   const
 

returns the current scope.


The documentation for this class was generated from the following file:
Generated on Sat Apr 6 19:07:27 2002 for Compiler Backend Library by doxygen1.2.14 written by , © 1997-2002