~/bend-docscommunity

execution_query_admission.bend checks

raw source on the hub · import bendvy-ecs-core@0.1.0.3/execution_query_admission.bend as Execution_query_admission

11 imports
import Base
import ./execution_query_recipe.bend as Recipe
import ./execution_query_schema.bend as Schema
import ./execution_query_domain.bend as D
import ./execution_query_matches.bend as Match
import ./execution_query_identity.bend as Id
import ./execution_composer_layout.bend as L
import ./world.bend as W
import ./entity_key.bend as K
import ./indexed_lifecycle.bend as Indexed
import ./chunk_column.bend as Col

Types

type Granted source · line 13 · raw

@-S:Data -> @-WC:Type -> Data

type Lowering source · line 15 · raw

@-S:Data -> @-WC:Type -> @-full:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Layout -> Data

type LoweredEntries source · line 90 · raw

@-S:Data -> @-WC:Type -> Data

Definitions

def info_matches source · line 18 · raw

@route:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Route -> @info:0x704c77730661eff4309838fc738ef615/execution_query_schema.Info -> Bool

def info_selected source · line 21 · raw

@info:0x704c77730661eff4309838fc738ef615/execution_query_schema.Info -> @next:Maybe<&2, 0x704c77730661eff4309838fc738ef615/execution_query_schema.Info> -> @selected:Bool -> Maybe<&2, 0x704c77730661eff4309838fc738ef615/execution_query_schema.Info>

def info_at source · line 25 · raw

@+route:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Route -> @info:List<&2, 0x704c77730661eff4309838fc738ef615/execution_query_schema.Info> -> Maybe<&2, 0x704c77730661eff4309838fc738ef615/execution_query_schema.Info>

def present source · line 29 · raw

@info:Maybe<&2, 0x704c77730661eff4309838fc738ef615/execution_query_schema.Info> -> @offset:U32 -> @wanted:Bool -> Bool

def bound source · line 33 · raw

@+info:List<&2, 0x704c77730661eff4309838fc738ef615/execution_query_schema.Info> -> @selection:0x704c77730661eff4309838fc738ef615/execution_query_recipe.Bound -> @+offset:U32 -> Bool

def capacity source · line 53 · raw

@info:Maybe<&2, 0x704c77730661eff4309838fc738ef615/execution_query_schema.Info> -> U32

def physical_cons source · line 57 · raw

@offset:U32 -> @rest:List<&2, U32> -> @fits:Bool -> List<&2, U32>

def physical_checked source · line 63 · raw

@capacity:U32 -> @rest:List<&2, U32> -> @offset:Maybe<&2, U32> -> List<&2, U32>

Beyond-storage optional absence remains in Granted.handles. Only physical owners that actually exist contribute physical-domain validation metadata.

def physical_recipe source · line 71 · raw

@kind:0x704c77730661eff4309838fc738ef615/execution_query_recipe.QueryKind -> @domain:0x704c77730661eff4309838fc738ef615/execution_query_domain.Domain -> 0x704c77730661eff4309838fc738ef615/execution_query_matches.Recipe

def same_kind source · line 117 · raw

@left:0x704c77730661eff4309838fc738ef615/execution_query_recipe.QueryKind -> @right:0x704c77730661eff4309838fc738ef615/execution_query_recipe.QueryKind -> Bool

def same_presence source · line 122 · raw

@left:0x704c77730661eff4309838fc738ef615/execution_query_matches.Presence -> @right:0x704c77730661eff4309838fc738ef615/execution_query_matches.Presence -> Bool

def same_bound source · line 129 · raw

@left:0x704c77730661eff4309838fc738ef615/execution_query_recipe.Bound -> @right:0x704c77730661eff4309838fc738ef615/execution_query_recipe.Bound -> Bool

def same_entry source · line 138 · raw

@left:0x704c77730661eff4309838fc738ef615/execution_query_recipe.Entry -> @right:0x704c77730661eff4309838fc738ef615/execution_query_recipe.Entry -> Bool

Templates

template selected_handle source · line 41 · raw

@-S:Data -> @handle:0x704c77730661eff4309838fc738ef615/world.Handle<S> -> @rest:List<&2, 0x704c77730661eff4309838fc738ef615/world.Handle<S>> -> @selected:Bool -> List<&2, 0x704c77730661eff4309838fc738ef615/world.Handle<S>>

template candidate_offset source · line 45 · raw

@-S:Data -> @info:List<&2, 0x704c77730661eff4309838fc738ef615/execution_query_schema.Info> -> @selection:0x704c77730661eff4309838fc738ef615/execution_query_recipe.Bound -> @handle:0x704c77730661eff4309838fc738ef615/world.Handle<S> -> @rest:List<&2, 0x704c77730661eff4309838fc738ef615/world.Handle<S>> -> @offset:Maybe<&2, U32> -> List<&2, 0x704c77730661eff4309838fc738ef615/world.Handle<S>>

template candidates source · line 49 · raw

@-S:Data -> @+info:List<&2, 0x704c77730661eff4309838fc738ef615/execution_query_schema.Info> -> @+selection:0x704c77730661eff4309838fc738ef615/execution_query_recipe.Bound -> @handles:List<&2, 0x704c77730661eff4309838fc738ef615/world.Handle<S>> -> List<&2, 0x704c77730661eff4309838fc738ef615/world.Handle<S>>

template physical source · line 67 · raw

@-S:Data -> @+capacity:U32 -> @handles:List<&2, 0x704c77730661eff4309838fc738ef615/world.Handle<S>> -> List<&2, U32>

template handles_valid source · line 75 · raw

@-S:Data -> @+namespace:U32 -> @handles:List<&2, 0x704c77730661eff4309838fc738ef615/world.Handle<S>> -> Bool

template public_indexes source · line 79 · raw

@-S:Data -> @handles:List<&2, 0x704c77730661eff4309838fc738ef615/world.Handle<S>> -> List<&2, U32>

template recipe_valid source · line 83 · raw

@-S:Data -> @-WC:Type -> @-full:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Layout -> @recipe:0x704c77730661eff4309838fc738ef615/execution_query_recipe.Recipe<S, WC> -> Bool

template recipes_valid source · line 86 · raw

@-S:Data -> @-WC:Type -> @-full:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Layout -> @recipes:List<&2, 0x704c77730661eff4309838fc738ef615/execution_query_recipe.Recipe<S, WC>> -> Bool

template bound_entries source · line 92 · raw

@-S:Data -> @+info:List<&2, 0x704c77730661eff4309838fc738ef615/execution_query_schema.Info> -> @+handles:List<&2, 0x704c77730661eff4309838fc738ef615/world.Handle<S>> -> @selection:0x704c77730661eff4309838fc738ef615/execution_query_recipe.Bound -> List<&2, 0x704c77730661eff4309838fc738ef615/execution_query_schema.Entry>

template lowered_cons source · line 100 · raw

@-S:Data -> @-WC:Type -> @+route:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Route -> @+kind:0x704c77730661eff4309838fc738ef615/execution_query_recipe.QueryKind -> @selection:0x704c77730661eff4309838fc738ef615/execution_query_recipe.Bound -> @presence:0x704c77730661eff4309838fc738ef615/execution_query_matches.Presence -> @+handles:List<&2, 0x704c77730661eff4309838fc738ef615/world.Handle<S>> -> @capacity:U32 -> @boundReads:List<&2, 0x704c77730661eff4309838fc738ef615/execution_query_schema.Entry> -> @rest:LoweredEntries<S, WC> -> LoweredEntries<S, WC>

template lower_entries source · line 103 · raw

@-S:Data -> @-WC:Type -> @recipes:List<&2, 0x704c77730661eff4309838fc738ef615/execution_query_recipe.Recipe<S, WC>> -> @+info:List<&2, 0x704c77730661eff4309838fc738ef615/execution_query_schema.Info> -> @+handles:List<&2, 0x704c77730661eff4309838fc738ef615/world.Handle<S>> -> LoweredEntries<S, WC>

template lowered source · line 107 · raw

@-S:Data -> @-WC:Type -> @-full:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Layout -> @result:LoweredEntries<S, WC> -> Lowering<S, WC, full>

template lower_checked source · line 110 · raw

@-S:Data -> @-WC:Type -> @-full:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Layout -> @recipes:List<&2, 0x704c77730661eff4309838fc738ef615/execution_query_recipe.Recipe<S, WC>> -> @info:List<&2, 0x704c77730661eff4309838fc738ef615/execution_query_schema.Info> -> @handles:List<&2, 0x704c77730661eff4309838fc738ef615/world.Handle<S>> -> @valid:Bool -> Lowering<S, WC, full>

template lower source · line 114 · raw

@-S:Data -> @-WC:Type -> @-full:0x704c77730661eff4309838fc738ef615/execution_composer_layout.Layout -> @-same:{WC == 0x704c77730661eff4309838fc738ef615/execution_composer_layout.columns(S, full) : Type} -> @+recipes:List<&2, 0x704c77730661eff4309838fc738ef615/execution_query_recipe.Recipe<S, WC>> -> @+info:List<&2, 0x704c77730661eff4309838fc738ef615/execution_query_schema.Info> -> @namespace:U32 -> @+handles:List<&2, 0x704c77730661eff4309838fc738ef615/world.Handle<S>> -> Lowering<S, WC, full>

template grant_selected source · line 141 · raw

@-S:Data -> @handles:List<&2, 0x704c77730661eff4309838fc738ef615/world.Handle<S>> -> @next:Maybe<&2, List<&2, 0x704c77730661eff4309838fc738ef615/world.Handle<S>>> -> @selected:Bool -> Maybe<&2, List<&2, 0x704c77730661eff4309838fc738ef615/world.Handle<S>>>

template grant_handles source · line 145 · raw

@-S:Data -> @-WC:Type -> @+entry:0x704c77730661eff4309838fc738ef615/execution_query_recipe.Entry -> @grants:List<&2, Granted<S, WC>> -> Maybe<&2, List<&2, 0x704c77730661eff4309838fc738ef615/world.Handle<S>>>