execution_machine_component.bend checks
raw source on the hub · import bendvy-ecs-core@0.1.0.3/execution_machine_component.bend as Execution_machine_component
6 imports
import Base import ./execution_access.bend as Access import ./world.bend as W import ./state.bend as State import ./component.bend as Component import ./capabilities.bend as Cap
Types
type Operations source · line 11 · raw
@-S:Data -> @-K:Data -> @-V:Data -> @-Move:Data -> @-H:Type -> Type
Existing State.observed compares declared endpoints against the immediate canonical checked read before deciding whether to invoke a canonical modifier. No payload owner or raw replacement operation is returned to an ordinary body.
Operations@-S:Data -> @-K:Data -> @-V:Data -> @-Move:Data -> @-H:Type -> @move:(@_:H -> @_:0x704c77730661eff4309838fc738ef615/world.Handle<S> -> @_:Move -> Pair(H, 0x704c77730661eff4309838fc738ef615/state.Outcome<V, Unit>)) -> Operations<S, K, V, Move, H>
type MoveOwner source · line 16 · raw
@-S:Data -> @-H:Type -> @-P:Type -> @-V:Data -> Type
MoveOwner@-S:Data -> @-H:Type -> @-P:Type -> @-V:Data -> @scope:H -> @handle:0x704c77730661eff4309838fc738ef615/world.Handle<S> -> @modifier:Maybe<&1, Modifier(S, H, P, V)> -> MoveOwner<S, H, P, V>
Templates
template Ops source · line 13 · raw
@-S:Data -> @-K:Data -> @-V:Data -> @-Move:Data -> @Permit:Data -> @H:Type -> Type
template Modifier source · line 14 · raw
@-S:Data -> @-H:Type -> @-P:Type -> @-V:Data -> Type
template write_result source · line 18 · raw
@-S:Data -> @-H:Type -> @-P:Type -> @-V:Data -> @handle:0x704c77730661eff4309838fc738ef615/world.Handle<S> -> @result:Pair(H, Maybe<&2, V>) -> Pair(MoveOwner<S, H, P, V>, 0x704c77730661eff4309838fc738ef615/state.WriteStatus<Unit>)
template write_owner source · line 22 · raw
@-S:Data -> @-H:Type -> @-P:Type -> @-V:Data -> @-update:(@_:V -> @_:P -> Pair(P, V)) -> @owner:MoveOwner<S, H, P, V> -> @value:V -> Pair(MoveOwner<S, H, P, V>, 0x704c77730661eff4309838fc738ef615/state.WriteStatus<Unit>)
template completed source · line 26 · raw
@-S:Data -> @-H:Type -> @-P:Type -> @-V:Data -> @result:Pair(MoveOwner<S, H, P, V>, 0x704c77730661eff4309838fc738ef615/state.Outcome<V, Unit>) -> Pair(H, 0x704c77730661eff4309838fc738ef615/state.Outcome<V, Unit>)
template endpoints_observed source · line 29 · raw
@-S:Data -> @-H:Type -> @-P:Type -> @-V:Data -> @-equal:(@_:V -> @_:V -> Bool) -> @-update:(@_:V -> @_:P -> Pair(P, V)) -> @owner:MoveOwner<S, H, P, V> -> @actual:0x704c77730661eff4309838fc738ef615/component.Access<V> -> @endpoints:Pair(V, V) -> Pair(H, 0x704c77730661eff4309838fc738ef615/state.Outcome<V, Unit>)
template read_result source · line 32 · raw
@-S:Data -> @-H:Type -> @-P:Type -> @-V:Data -> @-Move:Data -> @-equal:(@_:V -> @_:V -> Bool) -> @-endpoints:(@_:Move -> Pair(V, V)) -> @-update:(@_:V -> @_:P -> Pair(P, V)) -> @modify:Modifier(S, H, P, V) -> @handle:0x704c77730661eff4309838fc738ef615/world.Handle<S> -> @request:Move -> @result:Pair(H, 0x704c77730661eff4309838fc738ef615/component.Access<V>) -> Pair(H, 0x704c77730661eff4309838fc738ef615/state.Outcome<V, Unit>)
template move source · line 35 · raw
@-S:Data -> @-H:Type -> @-P:Type -> @-V:Data -> @-Move:Data -> @-equal:(@_:V -> @_:V -> Bool) -> @-endpoints:(@_:Move -> Pair(V, V)) -> @-update:(@_:V -> @_:P -> Pair(P, V)) -> @get:(@_:H -> @_:0x704c77730661eff4309838fc738ef615/world.Handle<S> -> Pair(H, 0x704c77730661eff4309838fc738ef615/component.Access<V>)) -> @modify:Modifier(S, H, P, V) -> @scope:H -> @handle:0x704c77730661eff4309838fc738ef615/world.Handle<S> -> @request:Move -> Pair(H, 0x704c77730661eff4309838fc738ef615/state.Outcome<V, Unit>)
template narrow source · line 38 · raw
@-S:Data -> @-K:Data -> @-H:Type -> @-P:Type -> @-V:Data -> @-Move:Data -> @-equal:(@_:V -> @_:V -> Bool) -> @-endpoints:(@_:Move -> Pair(V, V)) -> @-update:(@_:V -> @_:P -> Pair(P, V)) -> @cap:0x704c77730661eff4309838fc738ef615/execution_access.ComponentWrite<S, H, P, V> -> Operations<S, K, V, Move, H>
template move_field source · line 41 · raw
@-S:Data -> @-K:Data -> @-H:Type -> @-V:Data -> @-Move:Data -> @cap:Operations<S, K, V, Move, H> -> @_:H -> @_:0x704c77730661eff4309838fc738ef615/world.Handle<S> -> @_:Move -> Pair(H, 0x704c77730661eff4309838fc738ef615/state.Outcome<V, Unit>)