Module visitor

Module visitor 

Source
Expand description

Algorithm for traversing (“visiting”) the dependency graph within a type stream or between a symbol stream and a type stream.

Traits§

IndexVisitor
Defines a visitor that visits every ItemId and TypeIndexLe in a record.
IndexVisitorMut
Defines a visitor that visits every ItemId and TypeIndexLe in a record. Allows modification.
RecordVisitor
Defines the functions needed for generically visiting type indexes within a type record or a symbol record.

Functions§

visit_type_indexes_in_record
This function examines a type record and traverses the type indexes within it.
visit_type_indexes_in_record_slice
Scans the type indexes within a type record and calls f for each type index. This function can only read data.
visit_type_indexes_in_record_slice_mut
Scans the type indexes within a type record and calls f for each type index. This function can modify the type indexes within the record.