![]() |
Zen
A cross-platform functional programming language
|
AST Node for list of grammar options. More...
#include <Ast.hpp>
Public Types | |
|
typedef z::list< const GrammarOption * > | List |
| Default list of grammar options. | |
Public Member Functions | |
| GrammarOptionList () | |
| Default constructor. | |
| const List & | getList () const |
| Returns a reference to the list of grammar options. | |
| void | addOption (GrammarOption &option) |
| Add a grammar option to the list. | |
Private Attributes | |
| List | _list |
| List of grammar options managed by this class. | |
AST Node for list of grammar options.
| void addOption | ( | GrammarOption & | option | ) | [inline] |
Add a grammar option to the list.
| option | The option to be added |
| const List& getList | ( | ) | const [inline] |
Returns a reference to the list of grammar options.