3 #ifndef CPROVER_SOLVERS_SMT2_INCREMENTAL_SMT_COMMANDS_H
4 #define CPROVER_SOLVERS_SMT2_INCREMENTAL_SMT_COMMANDS_H
58 std::vector<std::reference_wrapper<const smt_sortt>>
parameter_sorts()
const;
75 std::vector<std::reference_wrapper<const smt_identifier_termt>>
138 #define COMMAND_ID(the_id) \
139 virtual void visit(const smt_##the_id##_commandt &) = 0;
140 #include "smt_commands.def"
159 void validate(
const std::vector<smt_termt> &arguments)
const;
dstringt has one field, an unsigned integer no which is an index into a static table of strings.
There are a large number of kinds of tree structured or tree-like data in CPROVER.
std::string pretty(unsigned indent=0, unsigned max_indent=0) const
smt_assert_commandt(smt_termt condition)
const smt_termt & condition() const
A function generated from a command.
std::vector< smt_sortt > parameter_sorts
irep_idt identifier() const
smt_command_functiont(const smt_declare_function_commandt &function_declaration)
smt_sortt return_sort(const std::vector< smt_termt > &arguments) const
smt_identifier_termt _identifier
void validate(const std::vector< smt_termt > &arguments) const
void accept(smt_command_const_downcast_visitort &) const
bool operator==(const smt_commandt &) const
bool operator!=(const smt_commandt &) const
const smt_identifier_termt & identifier() const
smt_declare_function_commandt(smt_identifier_termt identifier, std::vector< smt_sortt > parameter_sorts)
const smt_sortt & return_sort() const
std::vector< std::reference_wrapper< const smt_sortt > > parameter_sorts() const
const smt_termt & definition() const
const smt_identifier_termt & identifier() const
smt_define_function_commandt(irep_idt identifier, std::vector< smt_identifier_termt > parameters, smt_termt definition)
std::vector< std::reference_wrapper< const smt_identifier_termt > > parameters() const
const smt_sortt & return_sort() const
const smt_termt & descriptor() const
smt_get_value_commandt(smt_termt descriptor)
This constructor constructs the get-value command, such that it stores a single descriptor for which ...
Stores identifiers in unescaped and unquoted form.
Class for adding the ability to up and down cast smt_logict to and from irept.
Class for adding the ability to up and down cast smt_optiont to and from irept.
smt_pop_commandt(std::size_t levels)
smt_push_commandt(std::size_t levels)
const smt_logict & logic() const
smt_set_logic_commandt(smt_logict logic)
smt_set_option_commandt(smt_optiont option)
const smt_optiont & option() const
Class for adding the ability to up and down cast smt_sortt to and from irept.
Class for adding the ability to up and down cast smt_termt to and from irept.