libabigail
Loading...
Searching...
No Matches
ir_traversable_base Struct Reference

The base of an entity of the intermediate representation that is to be traversed. More...

#include <abg-ir.h>

Inheritance diagram for ir_traversable_base:
[legend]

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.
 

Detailed Description

The base of an entity of the intermediate representation that is to be traversed.

Definition at line 469 of file abg-ir.h.

Member Function Documentation

◆ traverse()

bool traverse ( ir_node_visitor & v)
virtual

Traverse a given IR node and its children, calling an visitor on each node.

Parameters
vthe visitor to call on each traversed node.
Returns
true if the all the IR node tree was traversed.

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.

Definition at line 29482 of file abg-ir.cc.


The documentation for this struct was generated from the following files: