module

Bindgen::Graph::Visitor::MayDelete

Inherits Bindgen::Graph::Visitor

A visitor including this module will be allowed to delete a node out of a Container, while iterating over that same container, from within an inner visitor method.

Instance methods

visit_children(container : Container)

Visits all children of container. The containers nodes list is copied internally before iterating. It is thus acceptable to delete items from the #visit_X method called by this.

Source