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 {
16
17 public:
18 void add(nint newToken);
19 void addFront(nint newToken);
26
27 ncnt len() const;
28
29 void rel();
30
31 private:
32 std::list<nint> _toks;
33 };
34}
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