9 dreal::Smt2Parser::token_type dreal::Smt2Scanner::lex( \ 10 dreal::Smt2Parser::semantic_type* yylval, \ 11 dreal::Smt2Parser::location_type* yylloc) 14 #ifndef __FLEX_LEXER_H 15 #define yyFlexLexer Smt2FlexLexer 16 #include <FlexLexer.h> 22 #include "dreal/smt2/sort.h" 23 #include "dreal/smt2/term.h" 25 #include "dreal/util/box.h" 26 #include "dreal/util/string_to_interval.h" 28 #include "dreal/smt2/parser.yy.hh" 43 explicit Smt2Scanner(std::istream* arg_yyin =
nullptr,
44 std::ostream* arg_yyout =
nullptr);
60 virtual Smt2Parser::token_type
lex(Smt2Parser::semantic_type* yylval,
61 Smt2Parser::location_type* yylloc);
Smt2Scanner(std::istream *arg_yyin=nullptr, std::ostream *arg_yyout=nullptr)
Create a new scanner object.
Sum type of symbolic::Expression and symbolic::Formula.
Definition: api.cc:9
void set_debug(bool b)
Enable debug output (via arg_yyout) if compiled into the scanner.
~Smt2Scanner() override
Required for virtual functions.
virtual Smt2Parser::token_type lex(Smt2Parser::semantic_type *yylval, Smt2Parser::location_type *yylloc)
This is the main lexing function.
Smt2Scanner is a derived class to add some extra function to the scanner class.
Definition: scanner.h:38
This is the header file that we consolidate Drake's symbolic classes and expose them inside of dreal ...