Zen
A cross-platform functional programming language

GrammarLexerList Class Reference

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

#include <Ast.hpp>

Inheritance diagram for GrammarLexerList:
Node

List of all members.

Public Types

typedef z::list< const
GrammarLexer * > 
List
 Default list of grammar lexers.

Public Member Functions

 GrammarLexerList ()
 Default constructor.
const ListgetList () const
 Returns a reference to the list of grammar lexers.
void addLexer (const GrammarLexer &lexer)
 Add a grammar lexer to the list.

Private Attributes

List _list
 List of grammar lexers managed by this class.

Detailed Description

AST Node for list of grammar lexers.


Member Function Documentation

void addLexer ( const GrammarLexer lexer) [inline]

Add a grammar lexer to the list.

Parameters:
lexerThe lexer to be added
const List& getList ( ) const [inline]

Returns a reference to the list of grammar lexers.

Returns:
List of grammar lexers

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