Zen
A cross-platform functional programming language

GrammarOptionList Class Reference

AST Node for list of grammar options. More...

#include <Ast.hpp>

Inheritance diagram for GrammarOptionList:
Node

List of all members.

Public Types

typedef z::list< const
GrammarOption * > 
List
 Default list of grammar options.

Public Member Functions

 GrammarOptionList ()
 Default constructor.
const ListgetList () const
 Returns a reference to the list of grammar options.
void addOption (GrammarOption &option)
 Add a grammar option to the list.

Private Attributes

List _list
 List of grammar options managed by this class.

Detailed Description

AST Node for list of grammar options.


Member Function Documentation

void addOption ( GrammarOption option) [inline]

Add a grammar option to the list.

Parameters:
optionThe option to be added
const List& getList ( ) const [inline]

Returns a reference to the list of grammar options.

Returns:
List of grammar options

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