pub trait Visitable {
    fn visit(
        &mut self,
        visitor: &mut dyn Visitor,
        component: &mut Component,
        signatures: &LibrarySignatures,
        components: &[Component]
    ) -> VisResult; }
Expand description

Describes types that can be visited by things implementing Visitor. This performs a recursive walk of the tree.

It calls Visitor::start_* on the way down, and Visitor::finish_* on the way up.

Required Methods

Perform the traversal.

Implementations on Foreign Types

Blanket implementation for Vectors of Visitables

Implementors