Zen
A cross-platform functional programming language

GrammarMemberList Class Reference

AST representing a list of EBNF grammar members. More...

#include <Ast.hpp>

Inheritance diagram for GrammarMemberList:
Node

List of all members.

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 ListgetList () const
 Returns a reference to the list of grammar members.

Private Attributes

List _list
 List of grammar members managed by this class.

Detailed Description

AST representing a list of EBNF grammar members.


Member Function Documentation

void addMember ( const GrammarMember member) [inline]

Add a grammar member to the list.

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

Returns a reference to the list of grammar members.

Returns:
List of grammar members

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