~/bend-docscommunity

ordinary_reader_query_parameter.bend checks

raw source on the hub · import bendvy-ecs-core@0.1.0.6/ordinary_reader_query_parameter.bend as Ordinary_reader_query_parameter

12 imports
import Base
import ./change_tick.bend as Tick
import ./reader_parameter.bend as RP
import ./ordinary_query_observable.bend as Observable
import ./ordinary_query_declaration.bend as Query
import ./compose.bend as FrameQuery
import ./inspector.bend as Inspector
import ./inspector_query.bend as InspectQuery
import ./world.bend as W
import ./relation_commands.bend as Notice
import ./event_notice_runtime.bend as Mixed
import ./event_family_routing.bend as Route

Types

type Rows source · line 16 · raw

@S:Data -> @V:Data -> Data

Query rows are detached Data values; the shared route context retains the sole World and its affine event/relation history.

Templates

template rows_observed source · line 19 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-P:Data -> @-V:Data -> @observed:Pair(0x14a72e1c180a5ab1f8a056d43822425c/inspector.Frame<S, Store, R, 0x14a72e1c180a5ab1f8a056d43822425c/relation_commands.Notice<S, P>>, List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/inspector_query.ProjectedRow<S, V>>) -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, 0x14a72e1c180a5ab1f8a056d43822425c/relation_commands.Notice<S, P>>, Pair(Unit, Pair(Rows<S, V>, Unit)))

template validate_context source · line 23 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-P:Data -> @-F:Type -> @-H:Type -> @-Ops:Type -> @-V:Data -> @-declaration:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_query_observable.Declaration<S, 0x14a72e1c180a5ab1f8a056d43822425c/compose.Frame<S, Store, R, 0x14a72e1c180a5ab1f8a056d43822425c/relation_commands.Notice<S, P>>, Ops, 0x14a72e1c180a5ab1f8a056d43822425c/inspector.Frame<S, Store, R, 0x14a72e1c180a5ab1f8a056d43822425c/relation_commands.Notice<S, P>>, V> -> @context:0x14a72e1c180a5ab1f8a056d43822425c/event_family_routing.Runtime<S, Store, R, 0x14a72e1c180a5ab1f8a056d43822425c/relation_commands.Notice<S, P>, 0x14a72e1c180a5ab1f8a056d43822425c/event_notice_runtime.State<S, P, F, H>> -> @owner:Unit -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/event_family_routing.Runtime<S, Store, R, 0x14a72e1c180a5ab1f8a056d43822425c/relation_commands.Notice<S, P>, 0x14a72e1c180a5ab1f8a056d43822425c/event_notice_runtime.State<S, P, F, H>>, Pair(Unit, Bool))

template with_query_rows source · line 27 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-P:Data -> @-F:Type -> @-H:Type -> @-Ops:Type -> @-V:Data -> @state:0x14a72e1c180a5ab1f8a056d43822425c/event_notice_runtime.State<S, P, F, H> -> @tick:Nat -> @observed:Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, 0x14a72e1c180a5ab1f8a056d43822425c/relation_commands.Notice<S, P>>, Pair(Unit, Pair(Rows<S, V>, Unit))) -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/event_family_routing.Runtime<S, Store, R, 0x14a72e1c180a5ab1f8a056d43822425c/relation_commands.Notice<S, P>, 0x14a72e1c180a5ab1f8a056d43822425c/event_notice_runtime.State<S, P, F, H>>, Pair(Unit, Pair(Rows<S, V>, Unit)))

template prepare_context source · line 31 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-P:Data -> @-F:Type -> @-H:Type -> @-Ops:Type -> @-V:Data -> @-declaration:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_query_observable.Declaration<S, 0x14a72e1c180a5ab1f8a056d43822425c/compose.Frame<S, Store, R, 0x14a72e1c180a5ab1f8a056d43822425c/relation_commands.Notice<S, P>>, Ops, 0x14a72e1c180a5ab1f8a056d43822425c/inspector.Frame<S, Store, R, 0x14a72e1c180a5ab1f8a056d43822425c/relation_commands.Notice<S, P>>, V> -> @context:0x14a72e1c180a5ab1f8a056d43822425c/event_family_routing.Runtime<S, Store, R, 0x14a72e1c180a5ab1f8a056d43822425c/relation_commands.Notice<S, P>, 0x14a72e1c180a5ab1f8a056d43822425c/event_notice_runtime.State<S, P, F, H>> -> @+cursor:Maybe<&2, 0x14a72e1c180a5ab1f8a056d43822425c/change_tick.Tick> -> @owner:Unit -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/event_family_routing.Runtime<S, Store, R, 0x14a72e1c180a5ab1f8a056d43822425c/relation_commands.Notice<S, P>, 0x14a72e1c180a5ab1f8a056d43822425c/event_notice_runtime.State<S, P, F, H>>, Pair(Unit, Pair(Rows<S, V>, Unit)))

template commit_context source · line 35 · raw

@-Context:Type -> @context:Context -> @owner:Unit -> @delta:Unit -> @+cursor:0x14a72e1c180a5ab1f8a056d43822425c/change_tick.Tick -> Pair(Context, Unit)

template release_context source · line 40 · raw

@-Context:Type -> @context:Context -> @owner:Unit -> Context

Query projection retains no private cursor or shared-history membership. Disposal consumes its Unit owner while preserving the sole affine context.

template access_clauses source · line 43 · raw

@-S:Data -> @clauses:List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_query_declaration.Clause<S>> -> List<&2, String>

template access_of source · line 48 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-P:Data -> @-Ops:Type -> @-V:Data -> @declaration:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_query_observable.Declaration<S, 0x14a72e1c180a5ab1f8a056d43822425c/compose.Frame<S, Store, R, 0x14a72e1c180a5ab1f8a056d43822425c/relation_commands.Notice<S, P>>, Ops, 0x14a72e1c180a5ab1f8a056d43822425c/inspector.Frame<S, Store, R, 0x14a72e1c180a5ab1f8a056d43822425c/relation_commands.Notice<S, P>>, V> -> List<&2, String>

template from_observable source · line 51 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-P:Data -> @-F:Type -> @-H:Type -> @-Ops:Type -> @-V:Data -> @-declaration:0x14a72e1c180a5ab1f8a056d43822425c/ordinary_query_observable.Declaration<S, 0x14a72e1c180a5ab1f8a056d43822425c/compose.Frame<S, Store, R, 0x14a72e1c180a5ab1f8a056d43822425c/relation_commands.Notice<S, P>>, Ops, 0x14a72e1c180a5ab1f8a056d43822425c/inspector.Frame<S, Store, R, 0x14a72e1c180a5ab1f8a056d43822425c/relation_commands.Notice<S, P>>, V> -> 0x14a72e1c180a5ab1f8a056d43822425c/reader_parameter.Param<0x14a72e1c180a5ab1f8a056d43822425c/event_family_routing.Runtime<S, Store, R, 0x14a72e1c180a5ab1f8a056d43822425c/relation_commands.Notice<S, P>, 0x14a72e1c180a5ab1f8a056d43822425c/event_notice_runtime.State<S, P, F, H>>, Unit, Rows<S, V>, Unit, validate_context(S, Store, R, P, F, H, Ops, V, declaration), prepare_context(S, Store, R, P, F, H, Ops, V, declaration), commit_context(0x14a72e1c180a5ab1f8a056d43822425c/event_family_routing.Runtime<S, Store, R, 0x14a72e1c180a5ab1f8a056d43822425c/relation_commands.Notice<S, P>, 0x14a72e1c180a5ab1f8a056d43822425c/event_notice_runtime.State<S, P, F, H>>), release_context(0x14a72e1c180a5ab1f8a056d43822425c/event_family_routing.Runtime<S, Store, R, 0x14a72e1c180a5ab1f8a056d43822425c/relation_commands.Notice<S, P>, 0x14a72e1c180a5ab1f8a056d43822425c/event_notice_runtime.State<S, P, F, H>>)>