Skip to main content

Module iterate

Module iterate 

Source

Re-exportsΒ§

use std::ops::ControlFlow; πŸ”’
use rustc_index::bit_set::DenseBitSet; πŸ”’
use rustc_index::IndexSlice; πŸ”’
use rustc_index::IndexVec; πŸ”’
use super::DirectedGraph; πŸ”’
use super::StartNode; πŸ”’
use super::Successors; πŸ”’

StructsΒ§

CycleDetector
This TriColorVisitor looks for back edges in a graph, which indicate that a cycle exists.
DepthFirstSearch
A β€œdepth-first search” iterator for a directed graph.
Event πŸ”’
TriColorDepthFirstSearch
A depth-first search that also tracks when all successors of a node have been examined.

EnumsΒ§

NodeStatus
The status of a node in the depth-first search.

TraitsΒ§

TriColorVisitor
What to do when a node is examined or becomes Settled during DFS.

FunctionsΒ§

post_order_from
post_order_from_to
post_order_walk πŸ”’
reverse_post_order