Zen
A cross-platform functional programming language
|
Class that generates code to initialize an implementation constructor. More...
Public Member Functions | |
ImplItemVisitor (z::stream &os) | |
Default constructor. | |
void | visitItem (const Ast::ImplItem &item) |
Abstract visitor function. | |
virtual void | visit (const Ast::ContinuationImplItem &item) |
Abstract visitor function. | |
virtual void | visit (const Ast::RoutineImplItem &item) |
Abstract visitor function. | |
virtual void | visit (const Ast::FunctionImplItem &item) |
Abstract visitor function. | |
virtual void | visit (const Ast::GrammarImplItem &item) |
Abstract visitor function. | |
virtual void | visit (const Ast::WindowImplItem &item) |
Abstract visitor function. | |
Private Attributes | |
z::stream & | _os |
Output stream. |
Class that generates code to initialize an implementation constructor.
ImplItemVisitor | ( | z::stream & | os | ) | [inline] |
Default constructor.
os | The stream to write out to |
virtual void visit | ( | const Ast::ContinuationImplItem & | item | ) | [inline, virtual] |
Abstract visitor function.
item | The implementation item reference to handle |
Implements ImplItem::Visitor.
virtual void visit | ( | const Ast::WindowImplItem & | item | ) | [inline, virtual] |
Abstract visitor function.
item | The implementation item reference to handle |
Implements ImplItem::Visitor.
virtual void visit | ( | const Ast::GrammarImplItem & | item | ) | [inline, virtual] |
Abstract visitor function.
item | The implementation item reference to handle |
Implements ImplItem::Visitor.
virtual void visit | ( | const Ast::FunctionImplItem & | item | ) | [inline, virtual] |
Abstract visitor function.
item | The implementation item reference to handle |
Implements ImplItem::Visitor.
virtual void visit | ( | const Ast::RoutineImplItem & | item | ) | [inline, virtual] |
Abstract visitor function.
item | The implementation item reference to handle |
Implements ImplItem::Visitor.
void visitItem | ( | const Ast::ImplItem & | item | ) | [inline] |
Abstract visitor function.
item | The implementation item reference to handle |