A node with data in a tree, it contains:
More...
#include <irep.h>
template<typename treet, typename named_subtreest, bool sharing = true>
class tree_nodet< treet, named_subtreest, sharing >
A node with data in a tree, it contains:
- irept::dt::data : A dstringt and thus an integer which is a reference into a string table.)
- irept::dt::named_sub : A map from
irep_idt
(a string) to irept. This is used for named children, i.e. subexpressions, parameters, etc. Children whose name begins with '#' are ignored by the default operator==.
- irept::dt::sub : A vector of irept which is used to store ordered but unnamed children.
ref_count
: if sharing is activated, this is used to count the number of references to a node.
hash_code
: if HASH_CODE is activated, this is used to cache the result of the hash function.
Definition at line 89 of file irep.h.
◆ named_subt
template<typename treet , typename named_subtreest , bool sharing = true>
◆ subt
template<typename treet , typename named_subtreest , bool sharing = true>
◆ tree_nodet() [1/3]
template<typename treet , typename named_subtreest , bool sharing = true>
◆ tree_nodet() [2/3]
template<typename treet , typename named_subtreest , bool sharing = true>
◆ tree_nodet() [3/3]
template<typename treet , typename named_subtreest , bool sharing = true>
◆ clear()
template<typename treet , typename named_subtreest , bool sharing = true>
◆ swap()
template<typename treet , typename named_subtreest , bool sharing = true>
◆ data
template<typename treet , typename named_subtreest , bool sharing = true>
This irep_idt is the only place to store data in an tree node.
Definition at line 103 of file irep.h.
◆ hash_code
template<typename treet , typename named_subtreest , bool sharing = true>
◆ named_sub
template<typename treet , typename named_subtreest , bool sharing = true>
◆ sub
template<typename treet , typename named_subtreest , bool sharing = true>
◆ treet
template<typename treet , typename named_subtreest , bool sharing = true>
friend tree_nodet< treet, named_subtreest, sharing >::treet |
The documentation for this class was generated from the following file:
- /home/runner/work/cbmc/cbmc/src/util/irep.h