|
CBMC
|
A node with data in a tree, it contains: More...
#include <irep.h>
Inheritance diagram for tree_nodet< treet, named_subtreest, sharing >:
Collaboration diagram for tree_nodet< treet, named_subtreest, sharing >:Public Types | |
| typedef std::vector< treet > | subt |
| using | named_subt = named_subtreest |
Public Member Functions | |
| void | clear () |
| void | swap (tree_nodet &d) |
| tree_nodet ()=default | |
| tree_nodet (irep_idt _data) | |
| tree_nodet (irep_idt _data, named_subt _named_sub, subt _sub) | |
Public Attributes | |
| friend | treet |
| irep_idt | data |
| This irep_idt is the only place to store data in an tree node. | |
| named_subt | named_sub |
| subt | sub |
| std::size_t | hash_code = 0 |
A node with data in a tree, it contains:
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==.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. | using tree_nodet< treet, named_subtreest, sharing >::named_subt = named_subtreest |
| typedef std::vector<treet> tree_nodet< treet, named_subtreest, sharing >::subt |
|
default |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
| irep_idt tree_nodet< treet, named_subtreest, sharing >::data |
|
mutable |
| named_subt tree_nodet< treet, named_subtreest, sharing >::named_sub |
| subt tree_nodet< treet, named_subtreest, sharing >::sub |
| friend tree_nodet< treet, named_subtreest, sharing >::treet |