execution_relation_access.bend checks
raw source on the hub · import bendvy-ecs-core@0.1.0.3/execution_relation_access.bend as Execution_relation_access
8 imports
import Base import ./world.bend as W import ./entity_key.bend as K import ./relation_types.bend as T import ./relation_graph.bend as Graph import ./execution_relation_store.bend as Store import ./execution_state.bend as State import ./execution_lifecycle_notices.bend as Notice
Types
type Lookup source · line 10 · raw
@V:Data -> Data
Value@V:Data -> @value:V -> Lookup<V>
MissingEntity@V:Data -> Lookup<V>
NamespaceRefused@V:Data -> Lookup<V>
type Reader source · line 14 · raw
@-S:Data -> @-H:Type -> Type
Reader@-S:Data -> @-H:Type -> @target:(@_:H -> @_:0x704c77730661eff4309838fc738ef615/world.Handle<S> -> Pair(H, Lookup<Maybe<&2, 0x704c77730661eff4309838fc738ef615/world.Handle<S>>>)) -> @inverse:(@_:H -> @_:0x704c77730661eff4309838fc738ef615/world.Handle<S> -> Pair(H, Lookup<List<&2, 0x704c77730661eff4309838fc738ef615/world.Handle<S>>>)) -> Reader<S, H>
Templates
template Reads source · line 16 · raw
@-S:Data -> @H:Type -> Type
template namespace source · line 17 · raw
@-S:Data -> @view:0x704c77730661eff4309838fc738ef615/execution_lifecycle_notices.View<S> -> U32
template handle source · line 20 · raw
@-S:Data -> @namespace:U32 -> @value:Maybe<&2, 0x704c77730661eff4309838fc738ef615/entity_key.Key> -> Maybe<&2, 0x704c77730661eff4309838fc738ef615/world.Handle<S>>
template handles source · line 24 · raw
@-S:Data -> @+namespace:U32 -> @keys:List<&2, 0x704c77730661eff4309838fc738ef615/entity_key.Key> -> List<&2, 0x704c77730661eff4309838fc738ef615/world.Handle<S>>
template target_namespace source · line 28 · raw
@-S:Data -> @same:Bool -> @namespace:U32 -> @value:Maybe<&2, 0x704c77730661eff4309838fc738ef615/entity_key.Key> -> Lookup<Maybe<&2, 0x704c77730661eff4309838fc738ef615/world.Handle<S>>>
template target_view source · line 32 · raw
@-S:Data -> @-descriptor:0x704c77730661eff4309838fc738ef615/relation_types.Descriptor<S> -> @+expected:U32 -> @source:0x704c77730661eff4309838fc738ef615/world.Handle<S> -> @view:0x704c77730661eff4309838fc738ef615/execution_relation_store.View<S, descriptor> -> Lookup<Maybe<&2, 0x704c77730661eff4309838fc738ef615/world.Handle<S>>>
template inverse_namespace source · line 35 · raw
@-S:Data -> @same:Bool -> @namespace:U32 -> @keys:List<&2, 0x704c77730661eff4309838fc738ef615/entity_key.Key> -> Lookup<List<&2, 0x704c77730661eff4309838fc738ef615/world.Handle<S>>>
template inverse_view source · line 39 · raw
@-S:Data -> @-descriptor:0x704c77730661eff4309838fc738ef615/relation_types.Descriptor<S> -> @+expected:U32 -> @target:0x704c77730661eff4309838fc738ef615/world.Handle<S> -> @view:0x704c77730661eff4309838fc738ef615/execution_relation_store.View<S, descriptor> -> Lookup<List<&2, 0x704c77730661eff4309838fc738ef615/world.Handle<S>>>
template target_returned source · line 42 · raw
@-S:Data -> @-descriptor:0x704c77730661eff4309838fc738ef615/relation_types.Descriptor<S> -> @-H:Type -> @expected:U32 -> @source:0x704c77730661eff4309838fc738ef615/world.Handle<S> -> @result:Pair(H, 0x704c77730661eff4309838fc738ef615/execution_relation_store.View<S, descriptor>) -> Pair(H, Lookup<Maybe<&2, 0x704c77730661eff4309838fc738ef615/world.Handle<S>>>)
template inverse_returned source · line 45 · raw
@-S:Data -> @-descriptor:0x704c77730661eff4309838fc738ef615/relation_types.Descriptor<S> -> @-H:Type -> @expected:U32 -> @target:0x704c77730661eff4309838fc738ef615/world.Handle<S> -> @result:Pair(H, 0x704c77730661eff4309838fc738ef615/execution_relation_store.View<S, descriptor>) -> Pair(H, Lookup<List<&2, 0x704c77730661eff4309838fc738ef615/world.Handle<S>>>)
template target_checked source · line 48 · raw
@-S:Data -> @-descriptor:0x704c77730661eff4309838fc738ef615/relation_types.Descriptor<S> -> @-C:Type -> @-R:Type -> @-view:(@_:0x704c77730661eff4309838fc738ef615/execution_state.Scope<S, C, R> -> Pair(0x704c77730661eff4309838fc738ef615/execution_state.Scope<S, C, R>, 0x704c77730661eff4309838fc738ef615/execution_relation_store.View<S, descriptor>)) -> @valid:Bool -> @expected:U32 -> @scope:0x704c77730661eff4309838fc738ef615/execution_state.Scope<S, C, R> -> @source:0x704c77730661eff4309838fc738ef615/world.Handle<S> -> Pair(0x704c77730661eff4309838fc738ef615/execution_state.Scope<S, C, R>, Lookup<Maybe<&2, 0x704c77730661eff4309838fc738ef615/world.Handle<S>>>)
template inverse_checked source · line 52 · raw
@-S:Data -> @-descriptor:0x704c77730661eff4309838fc738ef615/relation_types.Descriptor<S> -> @-C:Type -> @-R:Type -> @-view:(@_:0x704c77730661eff4309838fc738ef615/execution_state.Scope<S, C, R> -> Pair(0x704c77730661eff4309838fc738ef615/execution_state.Scope<S, C, R>, 0x704c77730661eff4309838fc738ef615/execution_relation_store.View<S, descriptor>)) -> @valid:Bool -> @expected:U32 -> @scope:0x704c77730661eff4309838fc738ef615/execution_state.Scope<S, C, R> -> @target:0x704c77730661eff4309838fc738ef615/world.Handle<S> -> Pair(0x704c77730661eff4309838fc738ef615/execution_state.Scope<S, C, R>, Lookup<List<&2, 0x704c77730661eff4309838fc738ef615/world.Handle<S>>>)
template target source · line 56 · raw
@-S:Data -> @-descriptor:0x704c77730661eff4309838fc738ef615/relation_types.Descriptor<S> -> @-C:Type -> @-R:Type -> @-view:(@_:0x704c77730661eff4309838fc738ef615/execution_state.Scope<S, C, R> -> Pair(0x704c77730661eff4309838fc738ef615/execution_state.Scope<S, C, R>, 0x704c77730661eff4309838fc738ef615/execution_relation_store.View<S, descriptor>)) -> @scope:0x704c77730661eff4309838fc738ef615/execution_state.Scope<S, C, R> -> @+source:0x704c77730661eff4309838fc738ef615/world.Handle<S> -> Pair(0x704c77730661eff4309838fc738ef615/execution_state.Scope<S, C, R>, Lookup<Maybe<&2, 0x704c77730661eff4309838fc738ef615/world.Handle<S>>>)
template inverse source · line 59 · raw
@-S:Data -> @-descriptor:0x704c77730661eff4309838fc738ef615/relation_types.Descriptor<S> -> @-C:Type -> @-R:Type -> @-view:(@_:0x704c77730661eff4309838fc738ef615/execution_state.Scope<S, C, R> -> Pair(0x704c77730661eff4309838fc738ef615/execution_state.Scope<S, C, R>, 0x704c77730661eff4309838fc738ef615/execution_relation_store.View<S, descriptor>)) -> @scope:0x704c77730661eff4309838fc738ef615/execution_state.Scope<S, C, R> -> @+target:0x704c77730661eff4309838fc738ef615/world.Handle<S> -> Pair(0x704c77730661eff4309838fc738ef615/execution_state.Scope<S, C, R>, Lookup<List<&2, 0x704c77730661eff4309838fc738ef615/world.Handle<S>>>)
template reader source · line 64 · raw
@-S:Data -> @-descriptor:0x704c77730661eff4309838fc738ef615/relation_types.Descriptor<S> -> @-C:Type -> @-R:Type -> @-view:(@_:0x704c77730661eff4309838fc738ef615/execution_state.Scope<S, C, R> -> Pair(0x704c77730661eff4309838fc738ef615/execution_state.Scope<S, C, R>, 0x704c77730661eff4309838fc738ef615/execution_relation_store.View<S, descriptor>)) -> Reader<S, 0x704c77730661eff4309838fc738ef615/execution_state.Scope<S, C, R>>
Only the closed provider supplies view. Gameplay receives no store owner, graph setter, payload transform, inverse mutation, or concrete Scope type.
template target_field source · line 66 · raw
@-S:Data -> @-H:Type -> @cap:Reader<S, H> -> @_:H -> @_:0x704c77730661eff4309838fc738ef615/world.Handle<S> -> Pair(H, Lookup<Maybe<&2, 0x704c77730661eff4309838fc738ef615/world.Handle<S>>>)
template inverse_field source · line 69 · raw
@-S:Data -> @-H:Type -> @cap:Reader<S, H> -> @_:H -> @_:0x704c77730661eff4309838fc738ef615/world.Handle<S> -> Pair(H, Lookup<List<&2, 0x704c77730661eff4309838fc738ef615/world.Handle<S>>>)