Zen
A cross-platform functional programming language

GrammarStatementList Class Reference

AST Node for list of grammar statements. More...

#include <Ast.hpp>

Inheritance diagram for GrammarStatementList:
Node

List of all members.

Public Types

typedef z::list< const
GrammarStatement * > 
List
 Default list of grammar statements.

Public Member Functions

 GrammarStatementList ()
 Default constructor.
const ListgetList () const
 Returns a reference to the list of grammar statements.
void addRuleStatement (GrammarStatement &statement)
 Add a grammar statement to the list.

Private Attributes

List _list
 List of grammar statements managed by this class.

Detailed Description

AST Node for list of grammar statements.


Member Function Documentation

void addRuleStatement ( GrammarStatement statement) [inline]

Add a grammar statement to the list.

Parameters:
statementThe statement to be added
const List& getList ( ) const [inline]

Returns a reference to the list of grammar statements.

Returns:
List of grammar statements

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