internal/query_read_session.bend checks
raw source on the hub · import 0x67fd5084c1da4adc13317822045bb11f/internal/query_read_session.bend as Query_read_session
14 imports
import Base import ../change_tick.bend as Tick import ../clock_state.bend as Clock import ../world.bend as W import ../entity_key.bend as K import ../entity_allocator.bend as A import ../component.bend as C import ../column.bend as Col import ../inspector.bend as I import ../inspector_query.bend as IQ import ../inspector_query_world.bend as IW import ../inspector_query_projection.bend as P import ../compose.bend as Q import ../deferred_command.bend as Deferred
Types
type Owner source · line 17 · raw
@-S:Data -> @-Store:Type -> Type
A scan owns one Store; unrelated World owners remain outside its row loop.
Owner@-S:Data -> @-Store:Type -> @namespace:U32 -> @allocator:0x67fd5084c1da4adc13317822045bb11f/entity_allocator.Allocator -> @store:Store -> @cursor:Maybe<&2, 0x67fd5084c1da4adc13317822045bb11f/change_tick.Tick> -> Owner<S, Store>
Templates
template read_join source · line 20 · raw
@-S:Data -> @-Store:Type -> @-V:Data -> @namespace:U32 -> @allocator:0x67fd5084c1da4adc13317822045bb11f/entity_allocator.Allocator -> @cursor:Maybe<&2, 0x67fd5084c1da4adc13317822045bb11f/change_tick.Tick> -> @observed:Pair(Store, 0x67fd5084c1da4adc13317822045bb11f/component.Access<V>) -> Pair(Owner<S, Store>, 0x67fd5084c1da4adc13317822045bb11f/component.Access<V>)
template read_valid source · line 23 · raw
@-S:Data -> @-Store:Type -> @-Rest:Type -> @-Payload:Type -> @-V:Data -> @-take:(@_:Store -> Pair(Rest, 0x67fd5084c1da4adc13317822045bb11f/column.Column<S, Payload>)) -> @-put:(@_:Rest -> @_:0x67fd5084c1da4adc13317822045bb11f/column.Column<S, Payload> -> Store) -> @-view:(@_:Payload -> Pair(Payload, V)) -> @namespace:U32 -> @store:Store -> @cursor:Maybe<&2, 0x67fd5084c1da4adc13317822045bb11f/change_tick.Tick> -> @key:0x67fd5084c1da4adc13317822045bb11f/entity_key.Key -> @observed:Pair(0x67fd5084c1da4adc13317822045bb11f/entity_allocator.Allocator, Bool) -> Pair(Owner<S, Store>, 0x67fd5084c1da4adc13317822045bb11f/component.Access<V>)
template read_namespace source · line 27 · raw
@-S:Data -> @-Store:Type -> @-Rest:Type -> @-Payload:Type -> @-V:Data -> @-take:(@_:Store -> Pair(Rest, 0x67fd5084c1da4adc13317822045bb11f/column.Column<S, Payload>)) -> @-put:(@_:Rest -> @_:0x67fd5084c1da4adc13317822045bb11f/column.Column<S, Payload> -> Store) -> @-view:(@_:Payload -> Pair(Payload, V)) -> @allowed:Bool -> @namespace:U32 -> @allocator:0x67fd5084c1da4adc13317822045bb11f/entity_allocator.Allocator -> @store:Store -> @cursor:Maybe<&2, 0x67fd5084c1da4adc13317822045bb11f/change_tick.Tick> -> @+key:0x67fd5084c1da4adc13317822045bb11f/entity_key.Key -> Pair(Owner<S, Store>, 0x67fd5084c1da4adc13317822045bb11f/component.Access<V>)
template read source · line 31 · raw
@-S:Data -> @-Store:Type -> @-Rest:Type -> @-Payload:Type -> @-V:Data -> @-take:(@_:Store -> Pair(Rest, 0x67fd5084c1da4adc13317822045bb11f/column.Column<S, Payload>)) -> @-put:(@_:Rest -> @_:0x67fd5084c1da4adc13317822045bb11f/column.Column<S, Payload> -> Store) -> @-view:(@_:Payload -> Pair(Payload, V)) -> @owner:Owner<S, Store> -> @target:0x67fd5084c1da4adc13317822045bb11f/world.Handle<S> -> Pair(Owner<S, Store>, 0x67fd5084c1da4adc13317822045bb11f/component.Access<V>)
template matched source · line 34 · raw
@-S:Data -> @-Store:Type -> @mode:0x67fd5084c1da4adc13317822045bb11f/compose.Selection -> @observed:Pair(Owner<S, Store>, 0x67fd5084c1da4adc13317822045bb11f/component.Access<Bool>) -> Pair(Owner<S, Store>, Bool)
template matches source · line 37 · raw
@-S:Data -> @-Store:Type -> @-Rest:Type -> @-Payload:Type -> @-take:(@_:Store -> Pair(Rest, 0x67fd5084c1da4adc13317822045bb11f/column.Column<S, Payload>)) -> @-put:(@_:Rest -> @_:0x67fd5084c1da4adc13317822045bb11f/column.Column<S, Payload> -> Store) -> @-mode:0x67fd5084c1da4adc13317822045bb11f/compose.Selection -> @owner:Owner<S, Store> -> @target:0x67fd5084c1da4adc13317822045bb11f/world.Handle<S> -> Pair(Owner<S, Store>, Bool)
template slot source · line 39 · raw
@-S:Data -> @-Store:Type -> @-Rest:Type -> @-Payload:Type -> @-V:Data -> @-take:(@_:Store -> Pair(Rest, 0x67fd5084c1da4adc13317822045bb11f/column.Column<S, Payload>)) -> @-put:(@_:Rest -> @_:0x67fd5084c1da4adc13317822045bb11f/column.Column<S, Payload> -> Store) -> @-view:(@_:Payload -> Pair(Payload, V)) -> @-mode:0x67fd5084c1da4adc13317822045bb11f/compose.Selection -> 0x67fd5084c1da4adc13317822045bb11f/inspector_query_projection.DeclaredSelection<Owner<S, Store>, S, 0x67fd5084c1da4adc13317822045bb11f/component.Access<V>>
template restore source · line 42 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-V:Data -> @resource:R -> @events:List<&2, E> -> @pending:List<&1, 0x67fd5084c1da4adc13317822045bb11f/deferred_command.Command<0x67fd5084c1da4adc13317822045bb11f/world.World<S, Store, R, E>>> -> @registrations:List<&2, 0x67fd5084c1da4adc13317822045bb11f/world.RegistrationMeta> -> @nextSystemId:U32 -> @clock:0x67fd5084c1da4adc13317822045bb11f/clock_state.State -> @observed:Pair(Owner<S, Store>, List<&2, 0x67fd5084c1da4adc13317822045bb11f/inspector_query.ProjectedRow<S, V>>) -> Pair(0x67fd5084c1da4adc13317822045bb11f/inspector.Frame<S, Store, R, E>, List<&2, 0x67fd5084c1da4adc13317822045bb11f/inspector_query.ProjectedRow<S, V>>)
template enter_world source · line 45 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-V:Data -> @-selection:0x67fd5084c1da4adc13317822045bb11f/inspector_query_projection.DeclaredSelection<Owner<S, Store>, S, V> -> @world:0x67fd5084c1da4adc13317822045bb11f/world.World<S, Store, R, E> -> @cursor:Maybe<&2, 0x67fd5084c1da4adc13317822045bb11f/change_tick.Tick> -> @targets:List<&2, 0x67fd5084c1da4adc13317822045bb11f/world.Handle<S>> -> Pair(0x67fd5084c1da4adc13317822045bb11f/inspector.Frame<S, Store, R, E>, List<&2, 0x67fd5084c1da4adc13317822045bb11f/inspector_query.ProjectedRow<S, V>>)
template enter source · line 48 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-V:Data -> @-selection:0x67fd5084c1da4adc13317822045bb11f/inspector_query_projection.DeclaredSelection<Owner<S, Store>, S, V> -> @observed:Pair(0x67fd5084c1da4adc13317822045bb11f/inspector.Frame<S, Store, R, E>, List<&2, 0x67fd5084c1da4adc13317822045bb11f/world.Handle<S>>) -> Pair(0x67fd5084c1da4adc13317822045bb11f/inspector.Frame<S, Store, R, E>, List<&2, 0x67fd5084c1da4adc13317822045bb11f/inspector_query.ProjectedRow<S, V>>)
template enumerate source · line 51 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-V:Data -> @-selection:0x67fd5084c1da4adc13317822045bb11f/inspector_query_projection.DeclaredSelection<Owner<S, Store>, S, V> -> @frame:0x67fd5084c1da4adc13317822045bb11f/inspector.Frame<S, Store, R, E> -> Pair(0x67fd5084c1da4adc13317822045bb11f/inspector.Frame<S, Store, R, E>, List<&2, 0x67fd5084c1da4adc13317822045bb11f/inspector_query.ProjectedRow<S, V>>)