execution_relation_interpreter.bend checks
raw source on the hub · import bendvy-ecs-core@0.1.0.3/execution_relation_interpreter.bend as Execution_relation_interpreter
8 imports
import Base import ./entity_allocator.bend as A import ./entity_key.bend as K import ./world.bend as W import ./relation_types.bend as T import ./relation_graph.bend as Graph import ./relation_reorder_core.bend as Reorder import ./execution_relation_operation.bend as O
Definitions
def child_next source · line 33 · raw
@key:0x704c77730661eff4309838fc738ef615/entity_key.Key -> @reversed:List<&2, 0x704c77730661eff4309838fc738ef615/relation_types.ChildStatus> -> @next:(@_:0x704c77730661eff4309838fc738ef615/entity_allocator.Allocator -> @_:List<&2, 0x704c77730661eff4309838fc738ef615/relation_types.ChildStatus> -> Pair(0x704c77730661eff4309838fc738ef615/entity_allocator.Allocator, List<&2, 0x704c77730661eff4309838fc738ef615/relation_types.ChildStatus>)) -> @checked:Pair(0x704c77730661eff4309838fc738ef615/entity_allocator.Allocator, Bool) -> Pair(0x704c77730661eff4309838fc738ef615/entity_allocator.Allocator, List<&2, 0x704c77730661eff4309838fc738ef615/relation_types.ChildStatus>)
Templates
template live_namespace source · line 12 · raw
@-S:Data -> @same:Bool -> @allocator:0x704c77730661eff4309838fc738ef615/entity_allocator.Allocator -> @handle:0x704c77730661eff4309838fc738ef615/world.Handle<S> -> Pair(0x704c77730661eff4309838fc738ef615/entity_allocator.Allocator, Bool)
Trusted barrier seam. Namespace and allocator must come from the same actual Administration owner; this module does not grant gameplay graph authority.
template live source · line 16 · raw
@-S:Data -> @+namespace:U32 -> @allocator:0x704c77730661eff4309838fc738ef615/entity_allocator.Allocator -> @+handle:0x704c77730661eff4309838fc738ef615/world.Handle<S> -> Pair(0x704c77730661eff4309838fc738ef615/entity_allocator.Allocator, Bool)
template result source · line 19 · raw
@-S:Data -> @operation:0x704c77730661eff4309838fc738ef615/execution_relation_operation.Operation<S> -> @checked:0x704c77730661eff4309838fc738ef615/relation_types.CoreResult<S> -> 0x704c77730661eff4309838fc738ef615/execution_relation_operation.Outcome<S>
template relate_target source · line 23 · raw
@-S:Data -> @graph:0x704c77730661eff4309838fc738ef615/relation_types.Graph<S> -> @descriptor:0x704c77730661eff4309838fc738ef615/relation_types.Descriptor<S> -> @+source:0x704c77730661eff4309838fc738ef615/world.Handle<S> -> @+target:0x704c77730661eff4309838fc738ef615/world.Handle<S> -> @sourceLive:Bool -> @checked:Pair(0x704c77730661eff4309838fc738ef615/entity_allocator.Allocator, Bool) -> Pair(0x704c77730661eff4309838fc738ef615/entity_allocator.Allocator, 0x704c77730661eff4309838fc738ef615/execution_relation_operation.Outcome<S>)
template relate_source source · line 26 · raw
@-S:Data -> @+namespace:U32 -> @graph:0x704c77730661eff4309838fc738ef615/relation_types.Graph<S> -> @descriptor:0x704c77730661eff4309838fc738ef615/relation_types.Descriptor<S> -> @source:0x704c77730661eff4309838fc738ef615/world.Handle<S> -> @+target:0x704c77730661eff4309838fc738ef615/world.Handle<S> -> @checked:Pair(0x704c77730661eff4309838fc738ef615/entity_allocator.Allocator, Bool) -> Pair(0x704c77730661eff4309838fc738ef615/entity_allocator.Allocator, 0x704c77730661eff4309838fc738ef615/execution_relation_operation.Outcome<S>)
template unrelate_checked source · line 29 · raw
@-S:Data -> @graph:0x704c77730661eff4309838fc738ef615/relation_types.Graph<S> -> @descriptor:0x704c77730661eff4309838fc738ef615/relation_types.Descriptor<S> -> @+source:0x704c77730661eff4309838fc738ef615/world.Handle<S> -> @checked:Pair(0x704c77730661eff4309838fc738ef615/entity_allocator.Allocator, Bool) -> Pair(0x704c77730661eff4309838fc738ef615/entity_allocator.Allocator, 0x704c77730661eff4309838fc738ef615/execution_relation_operation.Outcome<S>)
template children_checked source · line 36 · raw
@-S:Data -> @+namespace:U32 -> @children:List<&2, 0x704c77730661eff4309838fc738ef615/world.Handle<S>> -> @allocator:0x704c77730661eff4309838fc738ef615/entity_allocator.Allocator -> @reversed:List<&2, 0x704c77730661eff4309838fc738ef615/relation_types.ChildStatus> -> Pair(0x704c77730661eff4309838fc738ef615/entity_allocator.Allocator, List<&2, 0x704c77730661eff4309838fc738ef615/relation_types.ChildStatus>)
template reorder_children source · line 40 · raw
@-S:Data -> @graph:0x704c77730661eff4309838fc738ef615/relation_types.Graph<S> -> @descriptor:0x704c77730661eff4309838fc738ef615/relation_types.Descriptor<S> -> @+parent:0x704c77730661eff4309838fc738ef615/world.Handle<S> -> @+children:List<&2, 0x704c77730661eff4309838fc738ef615/world.Handle<S>> -> @parentLive:Bool -> @checked:Pair(0x704c77730661eff4309838fc738ef615/entity_allocator.Allocator, List<&2, 0x704c77730661eff4309838fc738ef615/relation_types.ChildStatus>) -> Pair(0x704c77730661eff4309838fc738ef615/entity_allocator.Allocator, 0x704c77730661eff4309838fc738ef615/execution_relation_operation.Outcome<S>)
template reorder_parent source · line 43 · raw
@-S:Data -> @namespace:U32 -> @graph:0x704c77730661eff4309838fc738ef615/relation_types.Graph<S> -> @descriptor:0x704c77730661eff4309838fc738ef615/relation_types.Descriptor<S> -> @parent:0x704c77730661eff4309838fc738ef615/world.Handle<S> -> @+children:List<&2, 0x704c77730661eff4309838fc738ef615/world.Handle<S>> -> @checked:Pair(0x704c77730661eff4309838fc738ef615/entity_allocator.Allocator, Bool) -> Pair(0x704c77730661eff4309838fc738ef615/entity_allocator.Allocator, 0x704c77730661eff4309838fc738ef615/execution_relation_operation.Outcome<S>)
template reorder source · line 46 · raw
@-S:Data -> @+namespace:U32 -> @allocator:0x704c77730661eff4309838fc738ef615/entity_allocator.Allocator -> @graph:0x704c77730661eff4309838fc738ef615/relation_types.Graph<S> -> @descriptor:0x704c77730661eff4309838fc738ef615/relation_types.Descriptor<S> -> @+parent:0x704c77730661eff4309838fc738ef615/world.Handle<S> -> @children:List<&2, 0x704c77730661eff4309838fc738ef615/world.Handle<S>> -> Pair(0x704c77730661eff4309838fc738ef615/entity_allocator.Allocator, 0x704c77730661eff4309838fc738ef615/execution_relation_operation.Outcome<S>)
template apply source · line 53 · raw
@-S:Data -> @-descriptor:0x704c77730661eff4309838fc738ef615/relation_types.Descriptor<S> -> @+namespace:U32 -> @allocator:0x704c77730661eff4309838fc738ef615/entity_allocator.Allocator -> @graph:0x704c77730661eff4309838fc738ef615/relation_types.Graph<S> -> @operation:0x704c77730661eff4309838fc738ef615/execution_relation_operation.Operation<S> -> Pair(0x704c77730661eff4309838fc738ef615/entity_allocator.Allocator, 0x704c77730661eff4309838fc738ef615/execution_relation_operation.Outcome<S>)
Bevy ad678262, relationship/mod.rs:28-36 makes the source relationship authoritative and maintains its target collection. Existing Bend graph/reorder algorithms implement that invariant; dispatch never accepts an inverse writer.