Puma Reference Manual Puma::Syntax::State Class Reference



Puma::Syntax::State Class Reference

Parser state, the current position in the token stream. More...

#include <Puma/Syntax.h>

Inheritance diagram for Puma::Syntax::State:
Inheritance graph

List of all members.

Public Member Functions

 State ()
 Constructor.
 State (int)
 Constructor.
 State (const TokenProvider::State &s)
 Copy constructor.
- Public Member Functions inherited from Puma::BCList< Item, BUCKET_SIZE >::Iterator
 Iterator ()
 Iterator (int i)
 operator bool () const
bool operator== (const Iterator &other) const
bool operator!= (const Iterator &other) const
Iteratoroperator++ ()
Iterator operator++ (int)
Iteratoroperator-- ()
Iterator operator-- (int)
Item & operator* () const
Item * operator-> () const

Detailed Description

Parser state, the current position in the token stream.


Constructor & Destructor Documentation

Puma::Syntax::State::State ( )
inline

Constructor.

Puma::Syntax::State::State ( int  )
inline

Constructor.

Puma::Syntax::State::State ( const TokenProvider::State s)
inline

Copy constructor.

Parameters:
sThe parser state to copy.



Puma Reference Manual. Created on Sat Jun 30 2012.