Zen
A cross-platform functional programming language

GrammarMember Class Reference

Base class for all AST nodes representing EBNF grammar RHS elements. More...

#include <Ast.hpp>

Inheritance diagram for GrammarMember:
Node GrammarMemberId GrammarMemberNameId

List of all members.

Classes

class  Visitor
 GrammarMember Visitor interface class. More...

Public Member Functions

virtual void visit (GrammarMember::Visitor &visitor) const =0
 Visitor pattern implementation.

Protected Member Functions

 GrammarMember ()
 Default constructor.

Detailed Description

Base class for all AST nodes representing EBNF grammar RHS elements.


Member Function Documentation

virtual void visit ( GrammarMember::Visitor visitor) const [pure virtual]

Visitor pattern implementation.

Parameters:
visitorThe visitor object.

Implemented in GrammarMemberId, and GrammarMemberNameId.


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