![]() |
PUMA Library Reference Manual
|
#include <Puma/Syntax.h>
Inheritance diagram for Puma::Syntax::State:Parser state, the current position in the token stream.
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 () | |
| Construct an empty iterator. | |
| operator bool () const | |
| Check whether this iterator is in a valid state. | |
| bool | operator== (const Iterator &other) const |
| Compare two iterators. | |
| bool | operator!= (const Iterator &other) const |
| Compare two iterators. | |
| Iterator & | operator++ () |
| Unary increment operator. | |
| Iterator | operator++ (int) |
| Binary increment operator. | |
| Iterator & | operator-- () |
| Unary decrement operator. | |
| Iterator | operator-- (int) |
| Binary decrement operator. | |
| Item & | operator* () const |
| Get the list item the iterator currently points to. | |
| Item * | operator-> () const |
| Get a pointer to the list item the iterator currently points to. | |
|
inline |
Constructor.
|
inline |
Constructor.
|
inline |
Copy constructor.
| s | The parser state to copy. |