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

ImplItemVisitor Class Reference

Class that collects external references from implementation items. More...

Inheritance diagram for ImplItemVisitor:
ImplItem::Visitor

List of all members.

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.

Detailed Description

Class that collects external references from implementation items.


Constructor & Destructor Documentation

ImplItemVisitor ( zbl::RefCollector ctx) [inline]

Default constructor.

Parameters:
ctxThe collector context

Member Function Documentation

virtual void visit ( const Ast::ContinuationImplItem item) [inline, virtual]

Abstract visitor function.

Parameters:
itemThe implementation item reference to handle

Implements ImplItem::Visitor.

virtual void visit ( const Ast::WindowImplItem item) [inline, virtual]

Abstract visitor function.

Parameters:
itemThe implementation item reference to handle

Implements ImplItem::Visitor.

virtual void visit ( const Ast::GrammarImplItem item) [inline, virtual]

Abstract visitor function.

Parameters:
itemThe implementation item reference to handle

Implements ImplItem::Visitor.

virtual void visit ( const Ast::FunctionImplItem item) [inline, virtual]

Abstract visitor function.

Parameters:
itemThe implementation item reference to handle

Implements ImplItem::Visitor.

virtual void visit ( const Ast::RoutineImplItem item) [inline, virtual]

Abstract visitor function.

Parameters:
itemThe implementation item reference to handle

Implements ImplItem::Visitor.

void visitItem ( const Ast::ImplItem item) [inline]

Visit specified implementation item.

Parameters:
itemThe item to visit

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