Zen
A cross-platform functional programming language
|
Class that collects external references from implementation items. More...
Public Member Functions | |
ImplItemVisitor (zbl::RefCollector &ctx) | |
Default constructor. | |
void | visitItem (const Ast::ImplItem &item) |
Visit specified implementation item. | |
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 | |
zbl::RefCollector & | _ctx |
Reference to collection context. |
Class that collects external references from implementation items.
ImplItemVisitor | ( | zbl::RefCollector & | ctx | ) | [inline] |
Default constructor.
ctx | The collector context |
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] |
Visit specified implementation item.
item | The item to visit |