Puma Reference Manual | Puma::Syntax::State Class Reference |
Parser state, the current position in the token stream. More...
#include <Puma/Syntax.h>
Public Member Functions | |
State () | |
Constructor. More... | |
State (int) | |
Constructor. More... | |
State (const TokenProvider::State &s) | |
Copy constructor. More... | |
![]() | |
Iterator () | |
Iterator (int i) | |
operator bool () const | |
bool | operator== (const Iterator &other) const |
bool | operator!= (const Iterator &other) const |
Iterator & | operator++ () |
Iterator | operator++ (int) |
Iterator & | operator-- () |
Iterator | operator-- (int) |
Item & | operator* () const |
Item * | operator-> () const |
Parser state, the current position in the token stream.
|
inline |
Constructor.
|
inline |
Constructor.
|
inline |
Copy constructor.
s | The parser state to copy. |