12 #ifndef CPROVER_UTIL_JSON_IREP_H
13 #define CPROVER_UTIL_JSON_IREP_H
29 const std::string &sub_tree_id,
34 const std::string &sub_tree_id,
There are a large number of kinds of tree structured or tree-like data in CPROVER.
json_irept(bool include_comments)
To convert to JSON from an irep structure by recursively generating JSON for the different sub trees.
irept convert_from_json(const jsont &) const
Deserialize a JSON irep representation.
json_objectt convert_from_irep(const irept &) const
To convert to JSON from an irep structure by recursively generating JSON for the different sub trees.
void convert_sub_tree(const std::string &sub_tree_id, const irept::subt &sub_trees, json_objectt &parent) const
To convert to JSON from a list of ireps that are in an unlabelled subtree.
void convert_named_sub_tree(const std::string &sub_tree_id, const irept::named_subt &sub_trees, json_objectt &parent) const
To convert to JSON from a map of ireps that are in a named subtree.
typename dt::named_subt named_subt
json_objectt json(const source_locationt &)