![]() |
Zen
A cross-platform functional programming language
|
AST Node for a grammar option. More...
#include <Ast.hpp>
Public Member Functions | |
| GrammarOption (const z::string &name, const GrammarOptionValueList &list) | |
| Default constructor. | |
| const z::string & | getName () const |
| Returns a reference to option name. | |
| const GrammarOptionValueList & | getList () const |
| Returns a reference to the list of grammar option values. | |
Private Attributes | |
| const z::string | _name |
| Option name. | |
| const GrammarOptionValueList & | _list |
| List of grammar option values. | |
AST Node for a grammar option.
| GrammarOption | ( | const z::string & | name, |
| const GrammarOptionValueList & | list | ||
| ) | [inline] |
Default constructor.
| name | Name of the option |
| list | List of option values |
| const GrammarOptionValueList& getList | ( | ) | const [inline] |
Returns a reference to the list of grammar option values.
| const z::string& getName | ( | ) | const [inline] |
Returns a reference to option name.