Loading...
Searching...
No Matches
stelaTokenDispatcher.hpp
Go to the documentation of this file.
1
2#pragma once
3
4#include <list>
5
6#include "stela/common.hpp"
7
8namespace by {
15 public:
16 void add(nint newToken);
17 void addFront(nint newToken);
24
25 ncnt len() const;
26
27 void rel();
28
29 private:
30 std::list<nint> _toks;
31 };
32}
Token dispatcher for managing token queue during parsing.
Definition stelaTokenDispatcher.hpp:14
nbool pop(nint &output)
Removes a token from the front of the queue.
Rich logging support with polymorphic type conversion.
Definition richLog.hpp:34