libabigail
|
The base of an entity of the intermediate representation that is to be traversed. More...
#include <abg-ir.h>
Public Member Functions | |
virtual bool | traverse (ir_node_visitor &v) |
Traverse a given IR node and its children, calling an visitor on each node. | |
Public Member Functions inherited from traversable_base | |
virtual | ~traversable_base () |
Destructor of the traversable_base type. | |
Additional Inherited Members | |
Protected Member Functions inherited from traversable_base | |
traversable_base () | |
Default constructor of the traversable_base type. | |
bool | visiting () const |
This should returns false before and after the node has been visiting. During the visiting of the node (and of its children) this should return true. | |
void | visiting (bool f) |
The traversing code should be responsible of calling this, not the user code. | |
The base of an entity of the intermediate representation that is to be traversed.
|
virtual |
Traverse a given IR node and its children, calling an visitor on each node.
v | the visitor to call on each traversed node. |
Reimplemented in array_type_def::subrange_type, array_type_def, class_decl::base_spec, class_decl, class_or_union, class_tdecl, decl_base, enum_type_decl, function_decl::parameter, function_decl, function_tdecl, function_type, member_class_template, member_function_template, namespace_decl, pointer_type_def, ptr_to_mbr_type, qualified_type_def, reference_type_def, scope_decl, scope_type_decl, type_base, type_decl, type_or_decl_base, typedef_decl, union_decl, and var_decl.