Zen
A cross-platform functional programming language

GrammarOption Class Reference

AST Node for a grammar option. More...

#include <Ast.hpp>

Inheritance diagram for GrammarOption:
Node

List of all members.

Public Member Functions

 GrammarOption (const z::string &name, const GrammarOptionValueList &list)
 Default constructor.
const z::stringgetName () const
 Returns a reference to option name.
const GrammarOptionValueListgetList () const
 Returns a reference to the list of grammar option values.

Private Attributes

const z::string _name
 Option name.
const GrammarOptionValueList_list
 List of grammar option values.

Detailed Description

AST Node for a grammar option.


Constructor & Destructor Documentation

GrammarOption ( const z::string name,
const GrammarOptionValueList list 
) [inline]

Default constructor.

Parameters:
nameName of the option
listList of option values

Member Function Documentation

const GrammarOptionValueList& getList ( ) const [inline]

Returns a reference to the list of grammar option values.

Returns:
List of grammar option values
const z::string& getName ( ) const [inline]

Returns a reference to option name.

Returns:
Option name

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