libabigail
|
The base class for the node visitors. These are the types used to visit each node traversed by the diff_traversable_base::traverse() method. More...
#include <abg-comparison.h>
Public Member Functions | |
diff_node_visitor () | |
Default constructor of the diff_node_visitor type. | |
diff_node_visitor (visiting_kind k) | |
Constructor of the diff_node_visitor type. | |
diff * | get_current_topmost_iface_diff () const |
Getter of the diff current topmost interface which is impacted by the current diff node being visited. | |
visiting_kind | get_visiting_kind () const |
Getter for the visiting policy of the traversing code while invoking this visitor. | |
void | or_visiting_kind (visiting_kind v) |
Setter for the visiting policy of the traversing code while invoking this visitor. This one makes a logical or between the current policy and the bitmap given in argument and assigns the current policy to the result. | |
void | set_current_topmost_iface_diff (diff *) |
Setter of the diff current topmost interface which is impacted by the current diff node being visited. | |
void | set_visiting_kind (visiting_kind v) |
Setter for the visiting policy of the traversing code while invoking this visitor. | |
virtual bool | visit (base_diff *, bool) |
Default visitor implementation. | |
virtual bool | visit (class_diff *, bool) |
Default visitor implementation. | |
virtual bool | visit (corpus_diff *, bool) |
Default visitor implementation. | |
virtual bool | visit (diff *, bool) |
Default visitor implementation. | |
virtual bool | visit (distinct_diff *, bool) |
Default visitor implementation. | |
virtual bool | visit (enum_diff *, bool) |
Default visitor implementation. | |
virtual bool | visit (function_decl_diff *, bool) |
Default visitor implementation. | |
virtual bool | visit (pointer_diff *, bool) |
Default visitor implementation. | |
virtual bool | visit (qualified_type_diff *, bool) |
Default visitor implementation. | |
virtual bool | visit (reference_diff *, bool) |
Default visitor implementation. | |
virtual bool | visit (scope_diff *, bool) |
Default visitor implementation. | |
virtual bool | visit (translation_unit_diff *, bool) |
Default visitor implementation. | |
virtual bool | visit (type_decl_diff *, bool) |
Default visitor implementation. | |
virtual bool | visit (typedef_diff *, bool) |
Default visitor implementation. | |
virtual bool | visit (var_diff *, bool) |
Default visitor implementation. | |
virtual void | visit_begin (corpus_diff *) |
This is called by the traversing code on a corpus_diff node just before visiting it. That is, before visiting it and its children node. | |
virtual void | visit_begin (diff *) |
This is called by the traversing code on a diff node just before visiting it. That is, before visiting it and its children node. | |
virtual void | visit_end (corpus_diff *) |
This is called by the traversing code on a corpus_diff node just after visiting it. That is after visiting it and its children nodes. | |
virtual void | visit_end (diff *) |
This is called by the traversing code on a diff node just after visiting it. That is after visiting it and its children nodes. | |
Protected Attributes | |
std::unique_ptr< priv > | priv_ |
The base class for the node visitors. These are the types used to visit each node traversed by the diff_traversable_base::traverse() method.
Definition at line 2803 of file abg-comparison.h.
Default constructor of the diff_node_visitor type.
Definition at line 12249 of file abg-comparison.cc.
Constructor of the diff_node_visitor type.
k | how the visiting has to be performed. |
Definition at line 12258 of file abg-comparison.cc.
diff * get_current_topmost_iface_diff | ( | ) | const |
Getter of the diff current topmost interface which is impacted by the current diff node being visited.
Definition at line 12304 of file abg-comparison.cc.
visiting_kind get_visiting_kind | ( | ) | const |
Getter for the visiting policy of the traversing code while invoking this visitor.
Definition at line 12268 of file abg-comparison.cc.
void or_visiting_kind | ( | visiting_kind | v | ) |
Setter for the visiting policy of the traversing code while invoking this visitor. This one makes a logical or between the current policy and the bitmap given in argument and assigns the current policy to the result.
v | a bitmap representing the visiting policy to or with the current policy. |
Definition at line 12288 of file abg-comparison.cc.
void set_current_topmost_iface_diff | ( | diff * | d | ) |
Setter of the diff current topmost interface which is impacted by the current diff node being visited.
d | the current topmost interface diff impacted. |
Definition at line 12296 of file abg-comparison.cc.
void set_visiting_kind | ( | visiting_kind | v | ) |
Setter for the visiting policy of the traversing code while invoking this visitor.
v | a bit map representing the new visiting policy used by the traversing code when invoking this visitor. |
Definition at line 12277 of file abg-comparison.cc.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
This is called by the traversing code on a corpus_diff node just before visiting it. That is, before visiting it and its children node.
p | the corpus_diff node to visit. |
Definition at line 12332 of file abg-comparison.cc.
|
virtual |
This is called by the traversing code on a diff node just before visiting it. That is, before visiting it and its children node.
d | the diff node to visit. |
Definition at line 12313 of file abg-comparison.cc.
|
virtual |
This is called by the traversing code on a corpus_diff node just after visiting it. That is after visiting it and its children nodes.
d | the diff node that got visited. |
Definition at line 12341 of file abg-comparison.cc.
|
virtual |
This is called by the traversing code on a diff node just after visiting it. That is after visiting it and its children nodes.
d | the diff node that got visited. |
Definition at line 12322 of file abg-comparison.cc.
|
protected |
Definition at line 2807 of file abg-comparison.h.