10 #include "parser/diffeq/diffeq_parser.hpp"
17 #define YY_DECL nmodl::parser::DiffeqParser::symbol_type nmodl::parser::DiffeqLexer::next_token()
26 #ifndef __FLEX_LEXER_H
27 #define yyFlexLexer DiffEqFlexLexer
28 #include "FlexLexer.h"
61 DiffeqLexer(std::istream* in =
nullptr, std::ostream* out =
nullptr)
62 : DiffEqFlexLexer(in, out) {}
Represent Lexer/Scanner class for differential equation parsing.
DiffeqLexer(std::istream *in=nullptr, std::ostream *out=nullptr)
~DiffeqLexer() override=default
location loc
location of the parsed token
virtual DiffeqParser::symbol_type next_token()
Function for lexer to scan token (replacement for yylex())
void symbol_type(const std::string &name, T &value)
static double location(void *v)
encapsulates code generation backend implementations