Puma Reference Manual Puma: 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.

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.