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

Public Member Functions

 State ()
 Constructor. More...
 
 State (int)
 Constructor. More...
 
 State (const TokenProvider::State &s)
 Copy constructor. More...
 
- 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 Dec 21 2019.