blob: 58b4f2ba8db70c8ca3677a682b0e5b92aecea53f (
plain)
1
2
3
4
5
6
7
8
9
|
Token() = default;
Token(const std::string& s) { type = s; } // Assign type via "=" from string
start symbol implicitly from bnf
validate bnf: no empty types or values, or empty target lists
map -> unordered_map
set -> unordered_set
|