Zen
A cross-platform functional programming language

EnumMemberDefList Class Reference

AST Node representing a list of enum members. More...

#include <Ast.hpp>

Inheritance diagram for EnumMemberDefList:
Node

List of all members.

Public Types

typedef z::list< const
EnumMemberDef * > 
List
 Default list of enum member nodes.

Public Member Functions

 EnumMemberDefList ()
 Default constructor.
const ListgetList () 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.

Detailed Description

AST Node representing a list of enum members.


Member Function Documentation

void addDef ( const EnumMemberDef def) [inline]

Adds an enum member to the list.

Parameters:
defThe enum member to be added
const List& getList ( ) const [inline]

Returns a reference to the enum member list.

Returns:
Reference to the enum member list.

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