Zen
A cross-platform functional programming language

StructInitList Class Reference

A struct initialization list. More...

#include <Ast.hpp>

Inheritance diagram for StructInitList:
Node

List of all members.

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 ListgetList () const
 Returns the list of struct initialization items.

Private Attributes

List _list
 List of struct initialization items.

Detailed Description

A struct initialization list.

This AST holds a list of struct initialization items


Member Function Documentation

void addItem ( const StructInitItem item) [inline]

Add a struct initialization item.

Parameters:
itemThe item to be added
const List& getList ( ) const [inline]

Returns the list of struct initialization items.

Returns:
List of struct initialization items

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines