Finite tree-visitor schedule from pinned Miri tree_borrows/tree_visitor.rs. This models the normal-tree visitation order and the precise local/foreign relation used at each node. A tree is assumed to be a valid finite rooted tree, as it is at Miri's visitor call sites. Allocation ranges, wildcard subtrees, exposed caches, and diagnostics are outside this traversal schedule.
Whether to visit the accessed node's direct children.
- VisitChildrenOfAccessed : ChildrenVisitMode
- SkipChildrenOfAccessed : ChildrenVisitMode
Instances For
@[instance_reducible]
@[instance_reducible]
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[instance_reducible]
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[instance_reducible]
Equations
@[instance_reducible]
Equations
Instances For
@[instance_reducible]
Equations
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[instance_reducible]
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[instance_reducible]
Equations
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- tree.ancestorPath start = Miri.TreeBorrows.Tree.TraversalTree.ancestorPathAux✝ tree tree.nodes.size start
Instances For
theorem
Miri.TreeBorrows.Tree.TraversalTree.ancestorPath_head
(tree : TraversalTree)
(start : Nat)
:
def
Miri.TreeBorrows.Tree.TraversalTree.traverse
(tree : TraversalTree)
(start : Nat)
(mode : ChildrenVisitMode)
(skipNodes : List Nat)
:
Schedule a normal access: access the start and its ancestors first, then visit deferred cousin/child subtrees bottom-up. skipNodes models the source's foreign-only continue callback.
Equations
- One or more equations did not get rendered due to their size.
Instances For
theorem
Miri.TreeBorrows.Tree.TraversalTree.traverse_starts_at_accessed_node
(tree : TraversalTree)
(start : Nat)
(mode : ChildrenVisitMode)
(skipNodes : List Nat)
:
The source visitor always propagates at the accessed node first.