libabigail
Public Member Functions | List of all members
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. More...
 
- Public Member Functions inherited from traversable_base
virtual ~traversable_base ()
 Destructor of the traversable_base type. More...
 

Additional Inherited Members

- Protected Member Functions inherited from traversable_base
 traversable_base ()
 Default constructor of the traversable_base type. More...
 
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. More...
 
void visiting (bool f)
 The traversing code should be responsible of calling this, not the user code. More...
 

Detailed Description

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

Definition at line 461 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 member_class_template, union_decl, class_decl, class_or_union, class_tdecl, function_tdecl, function_decl::parameter, var_decl, enum_type_decl, array_type_def, reference_type_def, pointer_type_def, qualified_type_def, decl_base, member_function_template, class_decl::base_spec, function_type, function_decl, typedef_decl, array_type_def::subrange_type, namespace_decl, scope_type_decl, type_decl, type_base, scope_decl, and type_or_decl_base.

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


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