23 #ifndef SPOT_TGBAPARSE_PUBLIC_HH
24 # define SPOT_TGBAPARSE_PUBLIC_HH
26 # include "tgba/tgbaexplicit.hh"
27 # include "misc/location.hh"
28 # include "ltlenv/defaultenv.hh"
69 tgba_explicit_string*
tgba_parse(
const std::string& filename,
74 ltl::environment& envacc
86 const std::string& filename,
92 #endif // SPOT_TGBAPARSE_PUBLIC_HH
SPOT_API bool format_tgba_parse_errors(std::ostream &os, const std::string &filename, tgba_parse_error_list &error_list)
Format diagnostics produced by spot::tgba_parse.
std::pair< spot::location, std::string > tgba_parse_error
A parse diagnostic with its location.
Definition: public.hh:41
std::list< tgba_parse_error > tgba_parse_error_list
A list of parser diagnostics, as filled by parse.
Definition: public.hh:43
SPOT_API tgba_explicit_string * tgba_parse(const std::string &filename, tgba_parse_error_list &error_list, bdd_dict *dict, ltl::environment &env=ltl::default_environment::instance(), ltl::environment &envacc=ltl::default_environment::instance(), bool debug=false)
Build a spot::tgba_explicit from a text file.
static default_environment & instance()
Get the sole instance of spot::ltl::default_environment.