![]() |
Zen
A cross-platform functional programming language
|
Clas that writes out an expression list. More...
Public Member Functions | |
| ExprListWriter (const Ast::ExprList &plist, const z::string &pisep, const z::string &psep) | |
| Default constructor. | |
| ExprListWriter & | isRoutine (const bool &val=true) |
| Sets true if this is invoked from a routine. | |
| z::stream & | write (z::stream &os) const |
| Writes the type reference to the output stream. | |
Private Attributes | |
| const Ast::ExprList & | list |
| Expression list to write out. | |
| const z::string | isep |
| Initial separator. | |
| const z::string | sep |
| Subsequent separator. | |
| bool | _isRoutine |
| True is called from within routine. | |
Clas that writes out an expression list.
| ExprListWriter | ( | const Ast::ExprList & | plist, |
| const z::string & | pisep, | ||
| const z::string & | psep | ||
| ) | [inline] |
Default constructor.
| plist | The expression list to generate |
| pisep | The initial separator between expressions |
| psep | The subsequent separator between expressions |
| ExprListWriter& isRoutine | ( | const bool & | val = true | ) | [inline] |
Sets true if this is invoked from a routine.
| val | True if invoked from a routine |
Writes the type reference to the output stream.
| os | The output stream |