Zen
A cross-platform functional programming language
|
Class that collects external references from invokers. More...
Public Member Functions | |
InvokerVisitor (zbl::RefCollector &ctx, const Ast::ExprList &exprList) | |
Default constructor. | |
void | visitInvoker (const Ast::Invoker &invoker) |
Visit the invoker. | |
Private Member Functions | |
virtual void | visit (const Ast::FunctionCall &call) |
Abstract visitor function. | |
virtual void | visit (const Ast::FunctorCall &call) |
Abstract visitor function. | |
virtual void | visit (const Ast::FunctionDefCall &call) |
Abstract visitor function. | |
virtual void | visit (const Ast::FunctionImplCall &call) |
Abstract visitor function. | |
Private Attributes | |
zbl::RefCollector & | _ctx |
Reference to collection context. | |
const Ast::ExprList & | _exprList |
Invokation parameters. |
Class that collects external references from invokers.
InvokerVisitor | ( | zbl::RefCollector & | ctx, |
const Ast::ExprList & | exprList | ||
) | [inline] |
Default constructor.
ctx | The collector context |
exprList | Invocation parameters |
virtual void visit | ( | const Ast::FunctionCall & | call | ) | [inline, private, virtual] |
Abstract visitor function.
call | The invoker reference to handle |
Implements InvokerType::Visitor.
virtual void visit | ( | const Ast::FunctionImplCall & | call | ) | [inline, private, virtual] |
Abstract visitor function.
call | The invoker reference to handle |
Implements InvokerType::Visitor.
virtual void visit | ( | const Ast::FunctionDefCall & | call | ) | [inline, private, virtual] |
Abstract visitor function.
call | The invoker reference to handle |
Implements InvokerType::Visitor.
virtual void visit | ( | const Ast::FunctorCall & | call | ) | [inline, private, virtual] |
Abstract visitor function.
call | The invoker reference to handle |
Implements InvokerType::Visitor.
void visitInvoker | ( | const Ast::Invoker & | invoker | ) | [inline] |
Visit the invoker.
invoker | The invoker to visit |