Zen
A cross-platform functional programming language
|
AST representing a list of EBNF grammar members. More...
#include <Ast.hpp>
Public Types | |
typedef z::list< const GrammarMember * > | List |
Default list of grammar members. | |
Public Member Functions | |
GrammarMemberList () | |
Default constructor. | |
void | addMember (const GrammarMember &member) |
Add a grammar member to the list. | |
const List & | getList () const |
Returns a reference to the list of grammar members. | |
Private Attributes | |
List | _list |
List of grammar members managed by this class. |
AST representing a list of EBNF grammar members.
void addMember | ( | const GrammarMember & | member | ) | [inline] |
Add a grammar member to the list.
member | The member to be added |
const List& getList | ( | ) | const [inline] |
Returns a reference to the list of grammar members.