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

DefWriter Class Reference

Class that generates the definitions for implementation items. More...

Inheritance diagram for DefWriter:
ImplItem::Visitor

List of all members.

Public Member Functions

 DefWriter (Indenter &ind, z::stream &pos)
 Default constructor.

Private Member Functions

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

Indenter_ind
 Current indentation level.
z::stream_os
 Output stream.

Detailed Description

Class that generates the definitions for implementation items.


Constructor & Destructor Documentation

DefWriter ( Indenter ind,
z::stream pos 
) [inline]

Default constructor.

Parameters:
indThe indentation level
posThe output stream

Member Function Documentation

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

Abstract visitor function.

Parameters:
itemThe implementation item reference to handle

Implements ImplItem::Visitor.

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

Abstract visitor function.

Parameters:
itemThe implementation item reference to handle

Implements ImplItem::Visitor.

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

Abstract visitor function.

Parameters:
itemThe implementation item reference to handle

Implements ImplItem::Visitor.

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

Abstract visitor function.

Parameters:
itemThe implementation item reference to handle

Implements ImplItem::Visitor.

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

Abstract visitor function.

Parameters:
itemThe implementation item reference to handle

Implements ImplItem::Visitor.


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