#include <Parser.h>
|
| | SMTLIBParser (InstructionHandler &handler, bool queueInstructions) |
| |
| | ~SMTLIBParser () |
| |
| bool | parse (std::istream &in) |
| |
| void | add (const types::TermType &t, bool isSoftFormula=false, Rational weight=Rational(1), const std::string id=std::string()) |
| |
| void | check () |
| |
| void | declareConst (const std::string &name, const carl::Sort &sort) |
| |
| void | declareFun (const std::string &name, const std::vector< carl::Sort > &args, const carl::Sort &sort) |
| |
| void | declareSort (const std::string &name, Integer arity) |
| |
| void | echo (const std::string &s) |
| |
| void | qe () |
| |
| void | exit () |
| |
| void | getAllModels () |
| |
| void | getAssertions () |
| |
| void | getAssignment () |
| |
| void | getInfo (const std::string &key) |
| |
| void | getModel () |
| |
| void | getObjectives () |
| |
| void | getOption (const std::string &key) |
| |
| void | getProof () |
| |
| void | getUnsatCore () |
| |
| void | getValue ([[maybe_unused]] const std::vector< types::TermType > &vars) |
| |
| void | addObjective (const types::TermType &t, OptimizationType ot) |
| |
| void | pop (const Integer &n) |
| |
| void | push (const Integer &n) |
| |
| void | reset () |
| |
| void | resetAssertions () |
| |
| void | setInfo (const Attribute &attribute) |
| |
| void | setLogic (const carl::Logic &name) |
| |
| void | setOption (const Attribute &option) |
| |
| template<typename Function , typename... Args> |
| void | callHandler (const Function &f, const Args &... args) |
| |
Definition at line 17 of file Parser.h.
◆ SMTLIBParser()
| smtrat::parser::SMTLIBParser::SMTLIBParser |
( |
InstructionHandler & |
handler, |
|
|
bool |
queueInstructions |
|
) |
| |
|
inline |
◆ ~SMTLIBParser()
| smtrat::parser::SMTLIBParser::~SMTLIBParser |
( |
| ) |
|
|
inline |
◆ add()
| void smtrat::parser::SMTLIBParser::add |
( |
const types::TermType & |
t, |
|
|
bool |
isSoftFormula = false, |
|
|
Rational |
weight = Rational(1), |
|
|
const std::string |
id = std::string() |
|
) |
| |
|
inline |
◆ addObjective()
◆ callHandler()
template<typename Function , typename... Args>
| void smtrat::parser::SMTLIBParser::callHandler |
( |
const Function & |
f, |
|
|
const Args &... |
args |
|
) |
| |
|
inline |
◆ check()
| void smtrat::parser::SMTLIBParser::check |
( |
| ) |
|
|
inline |
◆ declareConst()
| void smtrat::parser::SMTLIBParser::declareConst |
( |
const std::string & |
name, |
|
|
const carl::Sort & |
sort |
|
) |
| |
|
inline |
◆ declareFun()
| void smtrat::parser::SMTLIBParser::declareFun |
( |
const std::string & |
name, |
|
|
const std::vector< carl::Sort > & |
args, |
|
|
const carl::Sort & |
sort |
|
) |
| |
|
inline |
◆ declareSort()
| void smtrat::parser::SMTLIBParser::declareSort |
( |
const std::string & |
name, |
|
|
Integer |
arity |
|
) |
| |
|
inline |
◆ echo()
| void smtrat::parser::SMTLIBParser::echo |
( |
const std::string & |
s | ) |
|
|
inline |
◆ exit()
| void smtrat::parser::SMTLIBParser::exit |
( |
| ) |
|
|
inline |
◆ getAllModels()
| void smtrat::parser::SMTLIBParser::getAllModels |
( |
| ) |
|
|
inline |
◆ getAssertions()
| void smtrat::parser::SMTLIBParser::getAssertions |
( |
| ) |
|
|
inline |
◆ getAssignment()
| void smtrat::parser::SMTLIBParser::getAssignment |
( |
| ) |
|
|
inline |
◆ getInfo()
| void smtrat::parser::SMTLIBParser::getInfo |
( |
const std::string & |
key | ) |
|
|
inline |
◆ getModel()
| void smtrat::parser::SMTLIBParser::getModel |
( |
| ) |
|
|
inline |
◆ getObjectives()
| void smtrat::parser::SMTLIBParser::getObjectives |
( |
| ) |
|
|
inline |
◆ getOption()
| void smtrat::parser::SMTLIBParser::getOption |
( |
const std::string & |
key | ) |
|
|
inline |
◆ getProof()
| void smtrat::parser::SMTLIBParser::getProof |
( |
| ) |
|
|
inline |
◆ getUnsatCore()
| void smtrat::parser::SMTLIBParser::getUnsatCore |
( |
| ) |
|
|
inline |
◆ getValue()
| void smtrat::parser::SMTLIBParser::getValue |
( |
[[maybe_unused] ] const std::vector< types::TermType > & |
vars | ) |
|
|
inline |
◆ parse()
| bool smtrat::parser::SMTLIBParser::parse |
( |
std::istream & |
in | ) |
|
|
inline |
◆ pop()
| void smtrat::parser::SMTLIBParser::pop |
( |
const Integer & |
n | ) |
|
|
inline |
◆ push()
| void smtrat::parser::SMTLIBParser::push |
( |
const Integer & |
n | ) |
|
|
inline |
◆ qe()
| void smtrat::parser::SMTLIBParser::qe |
( |
| ) |
|
|
inline |
◆ reset()
| void smtrat::parser::SMTLIBParser::reset |
( |
| ) |
|
|
inline |
◆ resetAssertions()
| void smtrat::parser::SMTLIBParser::resetAssertions |
( |
| ) |
|
|
inline |
◆ setInfo()
| void smtrat::parser::SMTLIBParser::setInfo |
( |
const Attribute & |
attribute | ) |
|
|
inline |
◆ setLogic()
| void smtrat::parser::SMTLIBParser::setLogic |
( |
const carl::Logic & |
name | ) |
|
|
inline |
◆ setOption()
| void smtrat::parser::SMTLIBParser::setOption |
( |
const Attribute & |
option | ) |
|
|
inline |
◆ handler
◆ mInputStream
| std::istream* smtrat::parser::SMTLIBParser::mInputStream |
|
private |
◆ parser
◆ queueInstructions
| bool smtrat::parser::SMTLIBParser::queueInstructions |
◆ state
◆ theories
| Theories smtrat::parser::SMTLIBParser::theories |
The documentation for this class was generated from the following file: