Zen
A cross-platform functional programming language

Closure::Visitor Class Reference

QClosure Visitor interface class. More...

#include <Ast.hpp>

Inheritance diagram for Closure::Visitor:
ClosureDefWriter ClosureImplWriter ClosureInitWriter ClosureVisitor ContinuationCtorWriter ContinuationDefBodyWriter

List of all members.

Public Member Functions

 Visitor ()
 Default constructor.
virtual ~Visitor ()
 Virtual destructor.
virtual void visit (const Ast::RunClosure &closure)=0
 Visit RunClosure.
virtual void visit (const Ast::ExitClosure &closure)=0
 Visit ExitClosure.
virtual void visit (const Ast::LoopClosure &closure)=0
 Visit LoopClosure.
virtual void visit (const Ast::SharedClosure &closure)=0
 Visit SharedClosure.
virtual void visit (const Ast::CallClosure &closure)=0
 Visit CallClosure.
virtual void visit (const Ast::FunctionCallClosure &closure)=0
 Visit FunctionCallClosure.
virtual void visit (const Ast::ReturnClosure &closure)=0
 Visit ReturnClosure.

Detailed Description

QClosure Visitor interface class.


Member Function Documentation

virtual void visit ( const Ast::RunClosure closure) [pure virtual]

Visit RunClosure.

Parameters:
closureThe instance to be visited.

Implemented in ClosureDefWriter, ClosureInitWriter, ContinuationCtorWriter, ContinuationDefBodyWriter, ClosureImplWriter, and ClosureVisitor.

virtual void visit ( const Ast::ReturnClosure closure) [pure virtual]

Visit ReturnClosure.

Parameters:
closureThe instance to be visited.

Implemented in ClosureDefWriter, ClosureInitWriter, ContinuationCtorWriter, ContinuationDefBodyWriter, ClosureImplWriter, and ClosureVisitor.

virtual void visit ( const Ast::FunctionCallClosure closure) [pure virtual]

Visit FunctionCallClosure.

Parameters:
closureThe instance to be visited.

Implemented in ClosureDefWriter, ClosureInitWriter, ContinuationCtorWriter, ContinuationDefBodyWriter, ClosureImplWriter, and ClosureVisitor.

virtual void visit ( const Ast::CallClosure closure) [pure virtual]

Visit CallClosure.

Parameters:
closureThe instance to be visited.

Implemented in ClosureDefWriter, ClosureInitWriter, ContinuationCtorWriter, ContinuationDefBodyWriter, ClosureImplWriter, and ClosureVisitor.

virtual void visit ( const Ast::SharedClosure closure) [pure virtual]

Visit SharedClosure.

Parameters:
closureThe instance to be visited.

Implemented in ClosureDefWriter, ClosureInitWriter, ContinuationCtorWriter, ContinuationDefBodyWriter, ClosureImplWriter, and ClosureVisitor.

virtual void visit ( const Ast::LoopClosure closure) [pure virtual]

Visit LoopClosure.

Parameters:
closureThe instance to be visited.

Implemented in ClosureDefWriter, ClosureInitWriter, ContinuationCtorWriter, ContinuationDefBodyWriter, ClosureImplWriter, and ClosureVisitor.

virtual void visit ( const Ast::ExitClosure closure) [pure virtual]

Visit ExitClosure.

Parameters:
closureThe instance to be visited.

Implemented in ClosureDefWriter, ClosureInitWriter, ContinuationCtorWriter, ContinuationDefBodyWriter, ClosureImplWriter, and ClosureVisitor.


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