internal/compact_operational_frame.bend checks
raw source on the hub · import bendvy-ecs-core@0.1.0.7/internal/compact_operational_frame.bend as Compact_operational_frame
12 imports
import Base import ../change_tick.bend as Tick import ../clock_state.bend as Clock import ../world.bend as W import ../entity_allocator.bend as A import ../transaction.bend as T import ../trace_facts.bend as Facts import ../deferred_command.bend as Deferred import ../compose.bend as Q import ../component.bend as C import ../column.bend as Col import ./query_read_session.bend as Session
Types
type Shell source · line 15 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> Type
Read operations retain this affine shell without inspecting its fields.
Shell@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @resource:R -> @worldEvents:List<&2, E> -> @pending:List<&1, 0x7e321819d0ff210531780719c7674cef/deferred_command.Command<0x7e321819d0ff210531780719c7674cef/world.World<S, Store, R, E>>> -> @registrations:List<&2, 0x7e321819d0ff210531780719c7674cef/world.RegistrationMeta> -> @nextSystemId:U32 -> @clock:0x7e321819d0ff210531780719c7674cef/clock_state.State -> @undo:List<&1, @_:0x7e321819d0ff210531780719c7674cef/world.World<S, Store, R, E> -> 0x7e321819d0ff210531780719c7674cef/world.World<S, Store, R, E>> -> @commands:List<&1, 0x7e321819d0ff210531780719c7674cef/deferred_command.Command<0x7e321819d0ff210531780719c7674cef/world.World<S, Store, R, E>>> -> @events:List<&2, E> -> @trace:0x7e321819d0ff210531780719c7674cef/trace_facts.State -> Shell<S, Store, R, E>
type Frame source · line 17 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> Type
Frame@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @namespace:U32 -> @allocator:0x7e321819d0ff210531780719c7674cef/entity_allocator.Allocator -> @store:Store -> @handle:0x7e321819d0ff210531780719c7674cef/world.Handle<S> -> @error:Maybe<&2, 0x7e321819d0ff210531780719c7674cef/world.WorldError> -> @cursor:Maybe<&2, 0x7e321819d0ff210531780719c7674cef/change_tick.Tick> -> @shell:Shell<S, Store, R, E> -> Frame<S, Store, R, E>
Templates
template extract source · line 19 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @frame:0x7e321819d0ff210531780719c7674cef/compose.Frame<S, Store, R, E> -> Frame<S, Store, R, E>
template restore source · line 22 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @frame:Frame<S, Store, R, E> -> 0x7e321819d0ff210531780719c7674cef/compose.Frame<S, Store, R, E>
template extract_value source · line 26 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-V:Data -> @observed:Pair(0x7e321819d0ff210531780719c7674cef/compose.Frame<S, Store, R, E>, V) -> Pair(Frame<S, Store, R, E>, V)
template bridge_get source · line 29 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-V:Data -> @-get:(@_:0x7e321819d0ff210531780719c7674cef/compose.Frame<S, Store, R, E> -> Pair(0x7e321819d0ff210531780719c7674cef/compose.Frame<S, Store, R, E>, V)) -> @frame:Frame<S, Store, R, E> -> Pair(Frame<S, Store, R, E>, V)
template bridge_set source · line 31 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-P:Type -> @-set:(@_:0x7e321819d0ff210531780719c7674cef/compose.Frame<S, Store, R, E> -> @_:P -> 0x7e321819d0ff210531780719c7674cef/compose.Frame<S, Store, R, E>) -> @frame:Frame<S, Store, R, E> -> @value:P -> Frame<S, Store, R, E>
template read_returned source · line 34 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-V:Data -> @handle:0x7e321819d0ff210531780719c7674cef/world.Handle<S> -> @error:Maybe<&2, 0x7e321819d0ff210531780719c7674cef/world.WorldError> -> @shell:Shell<S, Store, R, E> -> @observed:Pair(0x7e321819d0ff210531780719c7674cef/internal/query_read_session.Owner<S, Store>, 0x7e321819d0ff210531780719c7674cef/component.Access<V>) -> Pair(Frame<S, Store, R, E>, 0x7e321819d0ff210531780719c7674cef/component.Access<V>)
template read source · line 37 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-P:Type -> @-V:Data -> @-take:(@_:Store -> Pair(Rest, 0x7e321819d0ff210531780719c7674cef/column.Column<S, P>)) -> @-put:(@_:Rest -> @_:0x7e321819d0ff210531780719c7674cef/column.Column<S, P> -> Store) -> @-view:(@_:P -> Pair(P, V)) -> @frame:Frame<S, Store, R, E> -> Pair(Frame<S, Store, R, E>, 0x7e321819d0ff210531780719c7674cef/component.Access<V>)
template selected source · line 40 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-V:Data -> @mode:0x7e321819d0ff210531780719c7674cef/compose.Selection -> @observed:Pair(Frame<S, Store, R, E>, 0x7e321819d0ff210531780719c7674cef/component.Access<V>) -> Pair(Frame<S, Store, R, E>, Bool)
template family_match source · line 43 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-P:Type -> @-V:Data -> @-take:(@_:Store -> Pair(Rest, 0x7e321819d0ff210531780719c7674cef/column.Column<S, P>)) -> @-put:(@_:Rest -> @_:0x7e321819d0ff210531780719c7674cef/column.Column<S, P> -> Store) -> @-view:(@_:P -> Pair(P, V)) -> @-mode:0x7e321819d0ff210531780719c7674cef/compose.Selection -> @frame:Frame<S, Store, R, E> -> Pair(Frame<S, Store, R, E>, Bool)
template all source · line 45 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @frame:Frame<S, Store, R, E> -> Pair(Frame<S, Store, R, E>, Bool)
template and_selected source · line 47 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-right:(@_:Frame<S, Store, R, E> -> Pair(Frame<S, Store, R, E>, Bool)) -> @observed:Pair(Frame<S, Store, R, E>, Bool) -> Pair(Frame<S, Store, R, E>, Bool)
template both source · line 51 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-left:(@_:Frame<S, Store, R, E> -> Pair(Frame<S, Store, R, E>, Bool)) -> @-right:(@_:Frame<S, Store, R, E> -> Pair(Frame<S, Store, R, E>, Bool)) -> @frame:Frame<S, Store, R, E> -> Pair(Frame<S, Store, R, E>, Bool)