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

GrammarMemberWriter Class Reference

Class that generates a grammar member definition. More...

Inheritance diagram for GrammarMemberWriter:
GrammarMember::Visitor

List of all members.

Public Member Functions

 GrammarMemberWriter (z::stream &lmn)
 Default constructor.

Private Member Functions

virtual void visit (const Ast::GrammarMemberId &member)
 Abstract visitor function.
virtual void visit (const Ast::GrammarMemberNameId &member)
 Abstract visitor function.

Private Attributes

z::stream_lmn
 Output stream.

Detailed Description

Class that generates a grammar member definition.


Constructor & Destructor Documentation

GrammarMemberWriter ( z::stream lmn) [inline]

Default constructor.

Parameters:
lmnThe .y file being generated

Member Function Documentation

virtual void visit ( const Ast::GrammarMemberId member) [inline, private, virtual]

Abstract visitor function.

Parameters:
memberThe grammar member reference to handle

Implements GrammarMember::Visitor.

virtual void visit ( const Ast::GrammarMemberNameId member) [inline, private, virtual]

Abstract visitor function.

Parameters:
memberThe grammar member reference to handle

Implements GrammarMember::Visitor.


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