Classes | |
class | spot::ltl::random_ltl |
Generate random LTL formulae. More... | |
Typedefs | |
typedef std::pair< ltlyy::location, std::string > | spot::ltl::parse_error |
A parse diagnostic with its location. | |
typedef std::list< parse_error > | spot::ltl::parse_error_list |
A list of parser diagnostics, as filled by parse. | |
Functions | |
formula * | spot::ltl::parse (const std::string <l_string, parse_error_list &error_list, environment &env=default_environment::instance(), bool debug=false) |
Build a formula from an LTL string. | |
bool | spot::ltl::format_parse_errors (std::ostream &os, const std::string <l_string, parse_error_list &error_list) |
Format diagnostics produced by spot::ltl::parse. | |
std::ostream & | spot::ltl::dotty (std::ostream &os, const formula *f) |
Write a formula tree using dot's syntax. | |
std::ostream & | spot::ltl::dump (std::ostream &os, const formula *f) |
Dump a formula tree. | |
std::ostream & | spot::ltl::to_string (const formula *f, std::ostream &os) |
Output a formula as a (parsable) string. | |
std::string | spot::ltl::to_string (const formula *f) |
Convert a formula into a (parsable) string. | |
std::ostream & | spot::ltl::to_spin_string (const formula *f, std::ostream &os) |
Output a formula as a (parsable by Spin) string. | |
std::string | spot::ltl::to_spin_string (const formula *f) |
Convert a formula into a (parsable by Spin) string. |
typedef std::pair<ltlyy::location, std::string> spot::ltl::parse_error |
A parse diagnostic with its location.
typedef std::list<parse_error> spot::ltl::parse_error_list |
A list of parser diagnostics, as filled by parse.
std::ostream& spot::ltl::dotty | ( | std::ostream & | os, | |
const formula * | f | |||
) |
Write a formula tree using dot's syntax.
os | The stream where it should be output. | |
f | The formula to translate. |
dot
is part of the GraphViz package http://www.research.att.com/sw/tools/graphviz/
std::ostream& spot::ltl::dump | ( | std::ostream & | os, | |
const formula * | f | |||
) |
bool spot::ltl::format_parse_errors | ( | std::ostream & | os, | |
const std::string & | ltl_string, | |||
parse_error_list & | error_list | |||
) |
Format diagnostics produced by spot::ltl::parse.
os | Where diagnostics should be output. | |
ltl_string | The string that were parsed. | |
error_list | The error list filled by spot::ltl::parse while parsing ltl_string. |
true
iff any diagnostic was output. formula* spot::ltl::parse | ( | const std::string & | ltl_string, | |
parse_error_list & | error_list, | |||
environment & | env = default_environment::instance() , |
|||
bool | debug = false | |||
) |
Build a formula from an LTL string.
ltl_string | The string to parse. | |
error_list | A list that will be filled with parse errors that occured during parsing. | |
env | The environment into which parsing should take place. | |
debug | When true, causes the parser to trace its execution. |
std::string spot::ltl::to_spin_string | ( | const formula * | f | ) |
std::ostream& spot::ltl::to_spin_string | ( | const formula * | f, | |
std::ostream & | os | |||
) |
std::string spot::ltl::to_string | ( | const formula * | f | ) |
std::ostream& spot::ltl::to_string | ( | const formula * | f, | |
std::ostream & | os | |||
) |