Zen
A cross-platform functional programming language
|
A struct initialization list. More...
#include <Ast.hpp>
Public Types | |
typedef z::list< const StructInitItem * > | List |
Default list of struct init items. | |
Public Member Functions | |
StructInitList () | |
Default constructor. | |
void | addItem (const StructInitItem &item) |
Add a struct initialization item. | |
const List & | getList () const |
Returns the list of struct initialization items. | |
Private Attributes | |
List | _list |
List of struct initialization items. |
A struct initialization list.
This AST holds a list of struct initialization items
void addItem | ( | const StructInitItem & | item | ) | [inline] |
Add a struct initialization item.
item | The item to be added |
const List& getList | ( | ) | const [inline] |
Returns the list of struct initialization items.