libabigail
|
#include <abg-ir.h>
Public Member Functions | |
virtual bool | traverse (node_visitor_base &v) |
virtual bool | traverse (ir_node_visitor &v) |
The base of an entity of the intermediate representation that is to be traversed.
|
virtualinherited |
This virtual method is overloaded and implemented by any single type which instance is going to be visited during the traversal of translation unit nodes.
The method visits a given node and, for scopes, visits their member nodes. Visiting a node means calling the ir_node_visitor::visit method with the node passed as an argument.
v | the visitor used during the traverse. |
Definition at line 29 of file abg-traverse.cc.
|
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 class_decl::member_class_template, class_decl::member_function_template, class_decl, class_tdecl, function_tdecl, function_decl, var_decl, typedef_decl, enum_type_decl, array_type_def, reference_type_def, pointer_type_def, qualified_type_def, namespace_decl, type_decl, scope_decl, and decl_base.