14#ifndef __DLINEAR_VNNLIB_SCANNER_H__
15#define yyFlexLexer VnnlibFlexLexer
20#ifdef DLINEAR_PYDLINEAR
21#include "pydlinear/interrupt.h"
24#include "dlinear/parser/vnnlib/Sort.h"
25#include "dlinear/parser/vnnlib/Term.h"
26#include "dlinear/symbolic/symbolic.h"
27#include "dlinear/util/Box.h"
30#include "dlinear/parser/vnnlib/parser.yy.hpp"
48 explicit VnnlibScanner(std::istream *arg_yyin =
nullptr, std::ostream *arg_yyout =
nullptr);
66 virtual VnnlibParser::token_type
lex(VnnlibParser::semantic_type *yylval, VnnlibParser::location_type *yylloc);
VnnlibScanner is a derived class to add some extra function to the scanner class.
virtual VnnlibParser::token_type lex(VnnlibParser::semantic_type *yylval, VnnlibParser::location_type *yylloc)
This is the main lexing function.
VnnlibScanner(std::istream *arg_yyin=nullptr, std::ostream *arg_yyout=nullptr)
Create a new scanner object.
~VnnlibScanner() override
Required for virtual functions.
void set_debug(bool b)
Enable debug output (via arg_yyout) if compiled into the scanner.
Namespace for the VNNLIB parser of the dlinear library.