Zen
A cross-platform functional programming language
Public Member Functions | Private Member Functions | Private Attributes

InvokerVisitor Class Reference

Class that collects external references from invokers. More...

Inheritance diagram for InvokerVisitor:
InvokerType::Visitor

List of all members.

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.

Detailed Description

Class that collects external references from invokers.


Constructor & Destructor Documentation

InvokerVisitor ( zbl::RefCollector ctx,
const Ast::ExprList exprList 
) [inline]

Default constructor.

Parameters:
ctxThe collector context
exprListInvocation parameters

Member Function Documentation

virtual void visit ( const Ast::FunctionCall call) [inline, private, virtual]

Abstract visitor function.

Parameters:
callThe invoker reference to handle

Implements InvokerType::Visitor.

virtual void visit ( const Ast::FunctionImplCall call) [inline, private, virtual]

Abstract visitor function.

Parameters:
callThe invoker reference to handle

Implements InvokerType::Visitor.

virtual void visit ( const Ast::FunctionDefCall call) [inline, private, virtual]

Abstract visitor function.

Parameters:
callThe invoker reference to handle

Implements InvokerType::Visitor.

virtual void visit ( const Ast::FunctorCall call) [inline, private, virtual]

Abstract visitor function.

Parameters:
callThe invoker reference to handle

Implements InvokerType::Visitor.

void visitInvoker ( const Ast::Invoker invoker) [inline]

Visit the invoker.

Parameters:
invokerThe invoker to visit

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines