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
8
namespace
by {
14
class
_nout
stelaTokenDispatcher
{
15
public
:
16
void
add(
nint
newToken
);
17
void
addFront(
nint
newToken
);
23
nbool
pop
(
nint
&
output
);
24
25
ncnt
len()
const
;
26
27
void
rel();
28
29
private
:
30
std::list<nint> _toks;
31
};
32
}
by::stelaTokenDispatcher
Token dispatcher for managing token queue during parsing.
Definition
stelaTokenDispatcher.hpp:14
by::stelaTokenDispatcher::pop
nbool pop(nint &output)
Removes a token from the front of the queue.
common.hpp
by::noWrap
Rich logging support with polymorphic type conversion.
Definition
richLog.hpp:34