#include <ShBlock.hpp>
Inheritance diagram for SH::ShBlockList:


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. | |
Definition at line 55 of file ShBlock.hpp.
1.4.1