Token dispatcher for managing token queue during parsing. More...
#include <stelaTokenDispatcher.hpp>
Public Member Functions | |
| void | add (nint newToken) |
| void | addFront (nint newToken) |
| nbool | pop (nint &output) |
| Removes a token from the front of the queue. | |
| ncnt | len () const |
| void | rel () |
Token dispatcher for managing token queue during parsing.
Manages a queue of tokens for lookahead and token buffering during the parsing process. Supports adding tokens to front and back.
Removes a token from the front of the queue.
| output | Reference to store the popped token ID. |