execution_relation_store.bend checks
raw source on the hub · import bendvy-ecs-core@0.1.0.3/execution_relation_store.bend as Execution_relation_store
10 imports
import Base import ./entity_allocator.bend as A import ./relation_types.bend as T import ./execution_relation_operation.bend as O import ./execution_relation_interpreter.bend as I import ./execution_relation_failure_message.bend as Failure import ./execution_relation_failure_channel.bend as Reader import ./execution_stream_channel.bend as Channel import ./execution_composer_layout.bend as Layout import ./change_tick.bend as Tick
Types
type Store source · line 14 · raw
@-S:Data -> @-descriptor:0x704c77730661eff4309838fc738ef615/relation_types.Descriptor<S> -> Type
Constructors and mutation functions are trusted provisioning/barrier helpers. Gameplay receives only operations over an abstract H, never this owner.
Store@-S:Data -> @-descriptor:0x704c77730661eff4309838fc738ef615/relation_types.Descriptor<S> -> @namespace:U32 -> @graph:0x704c77730661eff4309838fc738ef615/relation_types.Graph<S> -> @failures:0x704c77730661eff4309838fc738ef615/execution_stream_channel.Store<0x704c77730661eff4309838fc738ef615/execution_relation_failure_message.Message<S, descriptor>> -> @sequence:Nat -> @nextReader:U32 -> Store<S, descriptor>
type View source · line 16 · raw
@-S:Data -> @-descriptor:0x704c77730661eff4309838fc738ef615/relation_types.Descriptor<S> -> Data
View@-S:Data -> @-descriptor:0x704c77730661eff4309838fc738ef615/relation_types.Descriptor<S> -> @namespace:U32 -> @graph:0x704c77730661eff4309838fc738ef615/relation_types.Graph<S> -> @failures:0x704c77730661eff4309838fc738ef615/execution_stream_channel.Store<0x704c77730661eff4309838fc738ef615/execution_relation_failure_message.Message<S, descriptor>> -> @sequence:Nat -> @nextReader:U32 -> View<S, descriptor>
type Reason source · line 18 · raw
Data
NamespaceMismatchReason
OperationRefused@reason:0x704c77730661eff4309838fc738ef615/execution_relation_operation.Reason -> Reason
type Receipt source · line 21 · raw
@S:Data -> Data
Applied@S:Data -> @operation:0x704c77730661eff4309838fc738ef615/execution_relation_operation.Operation<S> -> Receipt<S>
Refused@S:Data -> @operation:0x704c77730661eff4309838fc738ef615/execution_relation_operation.Operation<S> -> @reason:Reason -> Receipt<S>
type Registration source · line 24 · raw
@-S:Data -> @-descriptor:0x704c77730661eff4309838fc738ef615/relation_types.Descriptor<S> -> @-origin:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Layout -> @-route:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Route -> Type
Registered@-S:Data -> @-descriptor:0x704c77730661eff4309838fc738ef615/relation_types.Descriptor<S> -> @-origin:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Layout -> @-route:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Route -> @store:Store<S, descriptor> -> @reader:0x704c77730661eff4309838fc738ef615/execution_relation_failure_channel.Reader<S, descriptor, origin, route> -> Registration<S, descriptor, origin, route>
RegistrationRefused@-S:Data -> @-descriptor:0x704c77730661eff4309838fc738ef615/relation_types.Descriptor<S> -> @-origin:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Layout -> @-route:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Route -> @store:Store<S, descriptor> -> Registration<S, descriptor, origin, route>
Definitions
def project_generic source · line 29 · raw
@-S:Data -> @-descriptor:0x704c77730661eff4309838fc738ef615/relation_types.Descriptor<S> -> @store:Store<S, descriptor> -> Pair(Store<S, descriptor>, View<S, descriptor>)
Templates
template fresh source · line 27 · raw
@-S:Data -> @-descriptor:0x704c77730661eff4309838fc738ef615/relation_types.Descriptor<S> -> @namespace:U32 -> Store<S, descriptor>
template project source · line 32 · raw
@-S:Data -> @-descriptor:0x704c77730661eff4309838fc738ef615/relation_types.Descriptor<S> -> @store:Store<S, descriptor> -> Pair(Store<S, descriptor>, View<S, descriptor>)
template published source · line 34 · raw
@-S:Data -> @-descriptor:0x704c77730661eff4309838fc738ef615/relation_types.Descriptor<S> -> @namespace:U32 -> @graph:0x704c77730661eff4309838fc738ef615/relation_types.Graph<S> -> @nextReader:U32 -> @allocator:0x704c77730661eff4309838fc738ef615/entity_allocator.Allocator -> @operation:0x704c77730661eff4309838fc738ef615/execution_relation_operation.Operation<S> -> @reason:0x704c77730661eff4309838fc738ef615/execution_relation_operation.Reason -> @result:Pair(Nat, 0x704c77730661eff4309838fc738ef615/execution_stream_channel.Store<0x704c77730661eff4309838fc738ef615/execution_relation_failure_message.Message<S, descriptor>>) -> Pair(0x704c77730661eff4309838fc738ef615/entity_allocator.Allocator, Pair(Store<S, descriptor>, Receipt<S>))
template publish source · line 37 · raw
@-S:Data -> @-descriptor:0x704c77730661eff4309838fc738ef615/relation_types.Descriptor<S> -> @namespace:U32 -> @graph:0x704c77730661eff4309838fc738ef615/relation_types.Graph<S> -> @failures:0x704c77730661eff4309838fc738ef615/execution_stream_channel.Store<0x704c77730661eff4309838fc738ef615/execution_relation_failure_message.Message<S, descriptor>> -> @sequence:Nat -> @nextReader:U32 -> @allocator:0x704c77730661eff4309838fc738ef615/entity_allocator.Allocator -> @operation:0x704c77730661eff4309838fc738ef615/execution_relation_operation.Operation<S> -> @reason:0x704c77730661eff4309838fc738ef615/execution_relation_operation.Reason -> @message:Maybe<&2, 0x704c77730661eff4309838fc738ef615/execution_relation_failure_message.Message<S, descriptor>> -> Pair(0x704c77730661eff4309838fc738ef615/entity_allocator.Allocator, Pair(Store<S, descriptor>, Receipt<S>))
template interpreted source · line 41 · raw
@-S:Data -> @-descriptor:0x704c77730661eff4309838fc738ef615/relation_types.Descriptor<S> -> @namespace:U32 -> @failures:0x704c77730661eff4309838fc738ef615/execution_stream_channel.Store<0x704c77730661eff4309838fc738ef615/execution_relation_failure_message.Message<S, descriptor>> -> @sequence:Nat -> @nextReader:U32 -> @result:Pair(0x704c77730661eff4309838fc738ef615/entity_allocator.Allocator, 0x704c77730661eff4309838fc738ef615/execution_relation_operation.Outcome<S>) -> Pair(0x704c77730661eff4309838fc738ef615/entity_allocator.Allocator, Pair(Store<S, descriptor>, Receipt<S>))
template admitted source · line 45 · raw
@-S:Data -> @-descriptor:0x704c77730661eff4309838fc738ef615/relation_types.Descriptor<S> -> @same:Bool -> @+namespace:U32 -> @allocator:0x704c77730661eff4309838fc738ef615/entity_allocator.Allocator -> @store:Store<S, descriptor> -> @operation:0x704c77730661eff4309838fc738ef615/execution_relation_operation.Operation<S> -> Pair(0x704c77730661eff4309838fc738ef615/entity_allocator.Allocator, Pair(Store<S, descriptor>, Receipt<S>))
template apply source · line 49 · raw
@-S:Data -> @-descriptor:0x704c77730661eff4309838fc738ef615/relation_types.Descriptor<S> -> @+namespace:U32 -> @allocator:0x704c77730661eff4309838fc738ef615/entity_allocator.Allocator -> @store:Store<S, descriptor> -> @operation:0x704c77730661eff4309838fc738ef615/execution_relation_operation.Operation<S> -> Pair(0x704c77730661eff4309838fc738ef615/entity_allocator.Allocator, Pair(Store<S, descriptor>, Receipt<S>))
template register_checked source · line 52 · raw
@-S:Data -> @-descriptor:0x704c77730661eff4309838fc738ef615/relation_types.Descriptor<S> -> @-origin:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Layout -> @-route:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Route -> @available:Bool -> @store:Store<S, descriptor> -> Registration<S, descriptor, origin, route>
template register source · line 56 · raw
@-S:Data -> @-descriptor:0x704c77730661eff4309838fc738ef615/relation_types.Descriptor<S> -> @-origin:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Layout -> @-route:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Route -> @store:Store<S, descriptor> -> Registration<S, descriptor, origin, route>
template maintained source · line 59 · raw
@-S:Data -> @-descriptor:0x704c77730661eff4309838fc738ef615/relation_types.Descriptor<S> -> @tick:0x704c77730661eff4309838fc738ef615/change_tick.Tick -> @store:Store<S, descriptor> -> Store<S, descriptor>