Token dispatcher for managing token queue during parsing 더 자세히 ...
#include <stelaTokenDispatcher.hpp>
Public 멤버 함수 | |
| 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.
| nbool by::stelaTokenDispatcher::pop | ( | nint & | output | ) |
Removes a token from the front of the queue.
| output | Reference to store the popped token ID. |