52 std::shared_ptr<nmodl::units::UnitTable>
table = std::make_shared<nmodl::units::UnitTable>();
Class that binds all pieces together for parsing C units.
Represent Lexer/Scanner class for Units parsing.
bool parse_stream(std::istream &in)
parse Units file provided as istream
UnitLexer * lexer
pointer to the lexer instance being used
std::string stream_name
file or input stream name (used by scanner for position), see todo
bool verbose
print messages from lexer/parser
UnitParser * parser
pointer to the parser instance being used
bool parse_string(const std::string &input)
parser Units provided as string (used for testing)
UnitDriver(bool strace, bool ptrace)
bool parse_file(const std::string &filename)
parse Units file
static double location(void *v)
encapsulates code generation backend implementations
Classes for storing different units specification.