libabigail
|
The base class for the diff tree node filter. More...
#include <abg-comp-filter.h>
Friends | |
void | apply_filter (filter_base_sptr f, diff_sptr deef) |
Walk a diff sub-tree and apply a filter to the nodes visted. The filter categorizes each node, assigning it into one or several categories. | |
Additional Inherited Members | |
Public Member Functions inherited from diff_node_visitor | |
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 inherited from diff_node_visitor | |
std::unique_ptr< priv > | priv_ |
The base class for the diff tree node filter.
It's intended to walk a tree of diff nodes and tag each relevant name into one or several categories depending on well choosen properties of the diff nodes.
Definition at line 131 of file abg-comp-filter.h.
|
friend |
Walk a diff sub-tree and apply a filter to the nodes visted. The filter categorizes each node, assigning it into one or several categories.
Note that this function makes sure to avoid visiting a node (or any other node equivalent to it) more than once. This helps avoid infinite loops for diff trees that involve type changes that reference themselves.
filter | the filter to apply to the nodes of the sub-tree. |
d | the diff sub-tree to walk and apply the filter to. |
Definition at line 96 of file abg-comp-filter.cc.