Zen
A cross-platform functional programming language
|
AST Node representing a list of enum members. More...
#include <Ast.hpp>
Public Types | |
typedef z::list< const EnumMemberDef * > | List |
Default list of enum member nodes. | |
Public Member Functions | |
EnumMemberDefList () | |
Default constructor. | |
const List & | getList () const |
Returns a reference to the enum member list. | |
void | addDef (const EnumMemberDef &def) |
Adds an enum member to the list. | |
Private Attributes | |
List | _list |
Enum member list. |
AST Node representing a list of enum members.
void addDef | ( | const EnumMemberDef & | def | ) | [inline] |
Adds an enum member to the list.
def | The enum member to be added |
const List& getList | ( | ) | const [inline] |
Returns a reference to the enum member list.