![]() |
Zen
A cross-platform functional programming language
|
AST Node for list of grammar statements. More...
#include <Ast.hpp>
Public Types | |
|
typedef z::list< const GrammarStatement * > | List |
| Default list of grammar statements. | |
Public Member Functions | |
| GrammarStatementList () | |
| Default constructor. | |
| const List & | getList () 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. | |
AST Node for list of grammar statements.
| void addRuleStatement | ( | GrammarStatement & | statement | ) | [inline] |
Add a grammar statement to the list.
| statement | The statement to be added |
| const List& getList | ( | ) | const [inline] |
Returns a reference to the list of grammar statements.