Circus 0.0.1-alpha
C++ Serialization Framework
|
Parser for Circus token streams producing nested Circus variables. More...
#include <parser.hpp>
Public Member Functions | |
parser__ () | |
Default constructor. | |
std::unordered_map< std::string, circ_variable > | operator() (std::vector< tokens__ > toks) |
Parse tokens into Circus variables. | |
~parser__ () | |
Destructor. |
Parser for Circus token streams producing nested Circus variables.
Parses tokens produced by the lexer into nested Circus objects and arrays, handling syntax errors and reporting them.
|
inline |
Parse tokens into Circus variables.
toks | Vector of tokens from lexer. |