Loading...
Searching...
No Matches
tokenDispatcher.hpp
Go to the documentation of this file.
1
2#pragma once
3
4#include <list>
5
6#include "core/common.hpp"
7
8namespace by {
49 class _nout tokenDispatcher {
50 public:
51 void add(nint newToken);
52 void addFront(nint newToken);
59
60 ncnt len() const;
61
62 void rel();
63
64 private:
65 std::list<nint> _toks;
66 };
67}
Definition tnarr.hpp:9
Token queue management for parser.
Definition tokenDispatcher.hpp:49
nbool pop(nint &output)
Removes a token from the front of the queue.
to Top