![]() |
Zen
A cross-platform functional programming language
|
AST Node for a window implementation. More...
#include <Ast.hpp>
Public Member Functions | |
| WindowImplItem (const int &idx, const Ast::FunctionDef &fdef, const Ast::WindowBlock &block) | |
| Default constructor. | |
| z::string | getUniqueName (const z::string &sep) const |
| Returns the unique name for this implementation item. | |
| const Ast::WindowBlock & | getBlock () const |
| Returns the WindowBlock for this implementation item. | |
Private Member Functions | |
| virtual void | visit (ImplItem::Visitor &visitor) const |
| Abstract visitor function. | |
| virtual const Ast::FunctionImplItem & | getFunctionImplItem () const |
| Returns a reference to this if this is a FunctionImplItem, else throws exception. | |
Private Attributes | |
| const Ast::WindowBlock & | _block |
| The window block. | |
AST Node for a window implementation.
| WindowImplItem | ( | const int & | idx, |
| const Ast::FunctionDef & | fdef, | ||
| const Ast::WindowBlock & | block | ||
| ) | [inline] |
Default constructor.
| idx | The index of this item in the list of impl items. |
| fdef | The function definition implemented in this item. |
| block | The window block for this item |
| const Ast::WindowBlock& getBlock | ( | ) | const [inline] |
Returns the WindowBlock for this implementation item.
| virtual const Ast::FunctionImplItem& getFunctionImplItem | ( | ) | const [inline, private, virtual] |
Returns a reference to this if this is a FunctionImplItem, else throws exception.
Implements ImplItem.
Returns the unique name for this implementation item.
| sep | The separator |
| void visit | ( | ImplItem::Visitor & | visitor | ) | const [private, virtual] |