Zen
A cross-platform functional programming language
|
Class that generates a grammar member definition. More...
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. |
Class that generates a grammar member definition.
GrammarMemberWriter | ( | z::stream & | lmn | ) | [inline] |
Default constructor.
lmn | The .y file being generated |
virtual void visit | ( | const Ast::GrammarMemberId & | member | ) | [inline, private, virtual] |
Abstract visitor function.
member | The grammar member reference to handle |
Implements GrammarMember::Visitor.
virtual void visit | ( | const Ast::GrammarMemberNameId & | member | ) | [inline, private, virtual] |
Abstract visitor function.
member | The grammar member reference to handle |
Implements GrammarMember::Visitor.