20 #ifndef SPOT_ELTLPARSE_PUBLIC_HH
21 # define SPOT_ELTLPARSE_PUBLIC_HH
24 # include "ltlenv/defaultenv.hh"
26 # include "misc/location.hh"
42 typedef std::pair<std::string, std::string> spair;
60 parse_error_list& error_list,
77 parse_error_list& error_list,
90 parse_error_list& error_list);
96 #endif // SPOT_ELTLPARSE_PUBLIC_HH
this class acts like a wrapper to the C code of the open_set.
Definition: public.hh:32
SPOT_API bool format_parse_errors(std::ostream &os, const std::string &input_string, const parse_error_list &error_list)
Format diagnostics produced by spot::ltl::parse or spot::ltl::ratexp.
NFA interface used by automatop.
std::list< parse_error > parse_error_list
A list of parser diagnostics, as filled by parse.
Definition: public.hh:45
An environment that describes atomic propositions.
Definition: environment.hh:34
std::pair< location, std::string > parse_error
A parse diagnostic with its location.
Definition: public.hh:43
SPOT_API const formula * parse_string(const std::string &eltl_string, parse_error_list &error_list, environment &env=default_environment::instance(), bool debug=false)
Build a formula from an ELTL string.
SPOT_API const formula * parse_file(const std::string &filename, parse_error_list &error_list, environment &env=default_environment::instance(), bool debug=false)
Build a formula from a text file.
static default_environment & instance()
Get the sole instance of spot::ltl::default_environment.