Zen
A cross-platform functional programming language

LexerStatementList Class Reference

List of lexer statement nodes. More...

#include <Ast.hpp>

Inheritance diagram for LexerStatementList:
Node

List of all members.

Public Types

typedef z::list< LexerStatement * > List
 Default list of lexer statements.

Public Member Functions

 LexerStatementList ()
 Default constructor.
const ListgetList () const
 Returns a reference to the list of lexer statements.
void addStatement (LexerStatement &statement)
 Add a grammar lexer statement to the list.

Private Attributes

List _list
 List of lexer statements managed by this class.

Detailed Description

List of lexer statement nodes.


Member Function Documentation

void addStatement ( LexerStatement statement) [inline]

Add a grammar lexer statement to the list.

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

Returns a reference to the list of lexer statements.

Returns:
List of lexer statements

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