Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

SH::ShBlockList Class Reference

A list of generic blocks. More...

#include <ShBlock.hpp>

Inheritance diagram for SH::ShBlockList:

Inheritance graph
[legend]
Collaboration diagram for SH::ShBlockList:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ShBlockList (bool isArgument=false)
bool isArgument ()
 True iff this block list is an argument (e.g. to sh_IF).
void addStatement (const ShStatement &statement)
 Add a simple "three variable" statement.
void addBlock (const ShBlockPtr &statement)
 Add a generic block.
ShBlockPtr ShBlockList::getFront () const
 Return the front block from the list (does not remove it).
ShBlockPtr ShBlockList::removeFront ()
 Remove the front block from the list and return it.
bool empty () const
 Return true iff this list does not contain any blocks.
std::ostream & print (std::ostream &out, int indentation) const
 Output a token list at a given indentation.

Friends

SH_DLLEXPORT std::ostream & operator<< (std::ostream &out, const ShBlockList &blockList)
 Output a token list.

Detailed Description

A list of generic blocks.

Definition at line 55 of file ShBlock.hpp.


The documentation for this class was generated from the following files:
Generated on Mon Jan 24 18:38:05 2005 for Sh by  doxygen 1.4.1