22 dest.
id(src[0].value);
24 for(std::size_t i=1; i<src.size(); i++)
27 const std::string &name=src[i].
value;
49 const std::size_t named_sub_size = src.
get_named_sub().size();
50 dest.reserve(2 + 2 * src.
get_sub().size() + 2 * named_sub_size);
59 for(
const auto &irep : src.
get_sub())
There are a large number of kinds of tree structured or tree-like data in CPROVER.
void move_to_named_sub(const irep_idt &name, irept &irep)
named_subt & get_named_sub()
const std::string & id_string() const
const irep_idt & id() const
void move_to_sub(irept &irep)
const std::string & id2string(const irep_idt &d)
void lisp2irep(const lispexprt &src, irept &dest)
void irep2lisp(const irept &src, lispexprt &dest)