execution_query_identity.bend checks
raw source on the hub · import bendvy-ecs-core@0.1.0.3/execution_query_identity.bend as Execution_query_identity
7 imports
import Base import ./world.bend as W import ./entity_key.bend as K import ./execution_state.bend as State import ./execution_query_domain.bend as D import ./indexed_lifecycle.bend as Indexed import ./chunk_column.bend as Column
Types
type Offset source · line 11 · raw
@-S:Data -> Data
Captured handles must originate from admitted actual World/Prepared state. Comparing all namespace/key/generation fields precedes physical conversion.
MissingEntity@-S:Data -> @handle:0x704c77730661eff4309838fc738ef615/world.Handle<S> -> Offset<S>
OutsideStorage@-S:Data -> @handle:0x704c77730661eff4309838fc738ef615/world.Handle<S> -> @capacity:U32 -> Offset<S>
Physical@-S:Data -> @handle:0x704c77730661eff4309838fc738ef615/world.Handle<S> -> @offset:U32 -> Offset<S>
type TargetCheck source · line 25 · raw
@-S:Data -> Data
Targets@-S:Data -> @handles:List<&2, 0x704c77730661eff4309838fc738ef615/world.Handle<S>> -> @offsets:0x704c77730661eff4309838fc738ef615/execution_query_domain.Domain -> TargetCheck<S>
Refused@-S:Data -> @handles:List<&2, 0x704c77730661eff4309838fc738ef615/world.Handle<S>> -> TargetCheck<S>
Definitions
def index_checked source · line 46 · raw
@+logical:U32 -> @normal:Bool -> Maybe<&2, U32>
def physical_index source · line 50 · raw
@+logical:U32 -> Maybe<&2, U32>
Templates
template checked_range source · line 15 · raw
@-S:Data -> @+handle:0x704c77730661eff4309838fc738ef615/world.Handle<S> -> @+capacity:U32 -> @+logical:U32 -> @live:Bool -> @inRange:Bool -> Offset<S>
template checked_logical source · line 20 · raw
@-S:Data -> @+namespace:U32 -> @+handles:List<&2, 0x704c77730661eff4309838fc738ef615/world.Handle<S>> -> @+capacity:U32 -> @+handle:0x704c77730661eff4309838fc738ef615/world.Handle<S> -> @+handleNamespace:U32 -> @+key:0x704c77730661eff4309838fc738ef615/entity_key.Key -> Offset<S>
template checked_offset source · line 22 · raw
@-S:Data -> @namespace:U32 -> @handles:List<&2, 0x704c77730661eff4309838fc738ef615/world.Handle<S>> -> @capacity:U32 -> @handle:0x704c77730661eff4309838fc738ef615/world.Handle<S> -> Offset<S>
template unique source · line 28 · raw
@-S:Data -> @handles:List<&2, 0x704c77730661eff4309838fc738ef615/world.Handle<S>> -> Bool
template offset_handles source · line 33 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @namespace:U32 -> @capacity:U32 -> @handle:0x704c77730661eff4309838fc738ef615/world.Handle<S> -> @result:Pair(0x704c77730661eff4309838fc738ef615/world.World<S, C, R, E>, List<&2, 0x704c77730661eff4309838fc738ef615/world.Handle<S>>) -> Pair(0x704c77730661eff4309838fc738ef615/world.World<S, C, R, E>, Offset<S>)
template offset_namespace source · line 36 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @capacity:U32 -> @handle:0x704c77730661eff4309838fc738ef615/world.Handle<S> -> @result:Pair(0x704c77730661eff4309838fc738ef615/world.World<S, C, R, E>, U32) -> Pair(0x704c77730661eff4309838fc738ef615/world.World<S, C, R, E>, Offset<S>)
template offset_valid source · line 39 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @capacity:U32 -> @handle:0x704c77730661eff4309838fc738ef615/world.Handle<S> -> @result:Pair(0x704c77730661eff4309838fc738ef615/world.World<S, C, R, E>, Bool) -> Pair(0x704c77730661eff4309838fc738ef615/world.World<S, C, R, E>, Offset<S>)
template world_offset source · line 43 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @world:0x704c77730661eff4309838fc738ef615/world.World<S, C, R, E> -> @capacity:U32 -> @+handle:0x704c77730661eff4309838fc738ef615/world.Handle<S> -> Pair(0x704c77730661eff4309838fc738ef615/world.World<S, C, R, E>, Offset<S>)
template captured_offset source · line 52 · raw
@-S:Data -> @+handles:List<&2, 0x704c77730661eff4309838fc738ef615/world.Handle<S>> -> @handle:0x704c77730661eff4309838fc738ef615/world.Handle<S> -> Offset<S>
template physical_live source · line 56 · raw
@-S:Data -> @checked:Offset<S> -> Bool
template captured_live source · line 60 · raw
@-S:Data -> @handles:List<&2, 0x704c77730661eff4309838fc738ef615/world.Handle<S>> -> @handle:0x704c77730661eff4309838fc738ef615/world.Handle<S> -> Bool
template prepend_offset source · line 62 · raw
@-S:Data -> @tail:Maybe<&2, List<&2, U32>> -> @checked:Offset<S> -> Maybe<&2, List<&2, U32>>
template target_offsets source · line 66 · raw
@-S:Data -> @+namespace:U32 -> @+all:List<&2, 0x704c77730661eff4309838fc738ef615/world.Handle<S>> -> @remaining:List<&2, 0x704c77730661eff4309838fc738ef615/world.Handle<S>> -> Maybe<&2, List<&2, U32>>
template targets_valid source · line 70 · raw
@-S:Data -> @handles:List<&2, 0x704c77730661eff4309838fc738ef615/world.Handle<S>> -> @domain:0x704c77730661eff4309838fc738ef615/execution_query_domain.Domain -> @valid:Bool -> TargetCheck<S>
template targets_validation source · line 74 · raw
@-S:Data -> @+handles:List<&2, 0x704c77730661eff4309838fc738ef615/world.Handle<S>> -> @+domain:0x704c77730661eff4309838fc738ef615/execution_query_domain.Domain -> @validation:0x704c77730661eff4309838fc738ef615/execution_query_domain.Validation -> TargetCheck<S>
template targets_offsets source · line 78 · raw
@-S:Data -> @handles:List<&2, 0x704c77730661eff4309838fc738ef615/world.Handle<S>> -> @offsets:Maybe<&2, List<&2, U32>> -> TargetCheck<S>
template targets source · line 82 · raw
@-S:Data -> @namespace:U32 -> @+handles:List<&2, 0x704c77730661eff4309838fc738ef615/world.Handle<S>> -> TargetCheck<S>