34 : ui_message_handler(ui_message_handler), options(options)
67 if(step.io_args.size() == 1)
69 json(step.io_args.front(), ns, ns.
lookup(step.function_id).mode);
110 if(step.io_args.size() == 1)
111 xml_input.new_element(
"value") =
xml(step.io_args.front(), ns);
140 log.result() <<
"\nTest suite:\n";
141 for(
const auto &trace : traces.
all())
150 if(
log.status().tellp() > 0)
157 for(
const auto &trace : traces.
all())
165 for(
const auto &trace : traces.
all())
static bool convert(const irep_idt &identifier, const std::ostringstream &s, symbol_table_baset &symbol_table, message_handlert &message_handler)
ait supplies three of the four components needed: an abstract interpreter (in this case handling func...
Step of the trace of a GOTO program.
const namespacet & get_namespace() const
const std::list< goto_tracet > & all() const
Provides methods for streaming JSON arrays.
Provides methods for streaming JSON objects.
Class that provides messages with a built-in verbosity 'level'.
A namespacet is essentially one or two symbol tables bound together, to allow for symbol lookups in t...
bool lookup(const irep_idt &name, const symbolt *&symbol) const override
See documentation for namespace_baset::lookup().
virtual uit get_ui() const
virtual json_stream_arrayt & get_json_stream()
const std::string & id2string(const irep_idt &d)
std::string from_expr(const namespacet &ns, const irep_idt &identifier, const exprt &expr)
static void json(json_objectT &result, const irep_idt &property_id, const property_infot &property_info)
xmlt xml(const irep_idt &property_id, const property_infot &property_info)
ranget< iteratort > make_range(iteratort begin, iteratort end)
Stream & join_strings(Stream &&os, const It b, const It e, const Delimiter &delimiter, TransformFunc &&transform_func)
Prints items to an stream, separated by a constant delimiter.