Zen
A cross-platform functional programming language

GrammarStatement::Visitor Class Reference

GrammarStatement Visitor interface class. More...

#include <Ast.hpp>

Inheritance diagram for GrammarStatement::Visitor:
GrammarDefActionWriter GrammarFileGenerator

List of all members.

Public Member Functions

 Visitor ()
 Default constructor.
virtual ~Visitor ()
 Virtual destructor.
virtual void visit (const Ast::GrammarRuleStatement &stmt)=0
 Visit GrammarRuleStatement.
virtual void visit (const Ast::LexerStatement &stmt)=0
 Visit LexerStatement.

Detailed Description

GrammarStatement Visitor interface class.


Member Function Documentation

virtual void visit ( const Ast::GrammarRuleStatement stmt) [pure virtual]

Visit GrammarRuleStatement.

Parameters:
stmtThe instance to be visited.

Implemented in GrammarDefActionWriter, and GrammarFileGenerator.

virtual void visit ( const Ast::LexerStatement stmt) [pure virtual]

Visit LexerStatement.

Parameters:
stmtThe instance to be visited.

Implemented in GrammarDefActionWriter, and GrammarFileGenerator.


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