owner_handoff.bend checks
raw source on the hub · import bendvy-ecs-core@0.1.0.6/owner_handoff.bend as Owner_handoff
1 import
import Base
Types
type Selection source · line 4 · raw
Data
Source-derived from exact concrete-v3 closure a4672d11; see extraction.json.
RequiredSelection
PresentSelection
AbsentSelection
OptionalSelection
type MetadataColumns source · line 9 · raw
@-F:Data -> Type
MetadataColumns@-F:Data -> @live:Array<Bool> -> @flags:Array<Maybe<&2, F>> -> @added:Array<U32> -> @changed:Array<U32> -> MetadataColumns<F>
type Rows source · line 11 · raw
@-M:Type -> @-A:Type -> @-F:Data -> Type
Rows@-M:Type -> @-A:Type -> @-F:Data -> @main:Array<Maybe<&1, M>> -> @aux:Array<Maybe<&1, A>> -> @metadata:MetadataColumns<F> -> @capacity:U32 -> @depth:Nat -> @high_water:U32 -> Rows<M, A, F>
type PrototypeHandoffRows source · line 19 · raw
@-Schema:Data -> @-M:Type -> Type
HandoffNil@-Schema:Data -> @-M:Type -> PrototypeHandoffRows<Schema, M>
HandoffCon@-Schema:Data -> @-M:Type -> @id:U32 -> @owner:M -> @rest:PrototypeHandoffRows<Schema, M> -> PrototypeHandoffRows<Schema, M>
type PrototypeHandoffState source · line 22 · raw
@-Schema:Data -> @-M:Type -> @-A:Type -> @-F:Data -> Type
PrototypeHandoffState@-Schema:Data -> @-M:Type -> @-A:Type -> @-F:Data -> @main:Array<Maybe<&1, M>> -> @aux:Array<Maybe<&1, A>> -> @live:Array<Bool> -> @flags:Array<Maybe<&2, F>> -> @added:Array<U32> -> @changed:Array<U32> -> @values:PrototypeHandoffRows<Schema, M> -> PrototypeHandoffState<Schema, M, A, F>
Definitions
def selected source · line 14 · raw
@-F:Data -> @selection:Selection -> @flag:Maybe<&2, F> -> Bool
def prototype_handoff_restore_state source · line 24 · raw
@-Schema:Data -> @-M:Type -> @-A:Type -> @-F:Data -> @+id:U32 -> @+namespace:U32 -> @aux:Array<Maybe<&1, A>> -> @live:Array<Bool> -> @flags:Array<Maybe<&2, F>> -> @added:Array<U32> -> @changed:Array<U32> -> @values:PrototypeHandoffRows<Schema, M> -> @result:Pair(Array<Maybe<&1, M>>, Maybe<&1, M>) -> PrototypeHandoffState<Schema, M, A, F>
def prototype_handoff_inspect_state source · line 28 · raw
@-Schema:Data -> @-M:Type -> @-A:Type -> @-F:Data -> @+id:U32 -> @+namespace:U32 -> @main:Array<Maybe<&1, M>> -> @aux:Array<Maybe<&1, A>> -> @live:Array<Bool> -> @flags:Array<Maybe<&2, F>> -> @added:Array<U32> -> @changed:Array<U32> -> @values:PrototypeHandoffRows<Schema, M> -> PrototypeHandoffState<Schema, M, A, F>
def prototype_handoff_finish_forward source · line 52 · raw
@-Schema:Data -> @-M:Type -> @-A:Type -> @-F:Data -> @capacity:U32 -> @depth:Nat -> @high:U32 -> @state:PrototypeHandoffState<Schema, M, A, F> -> Pair(Rows<M, A, F>, PrototypeHandoffRows<Schema, M>)
def prototype_handoff_recover_go source · line 66 · raw
@-Schema:Data -> @-M:Type -> @rows:PrototypeHandoffRows<Schema, M> -> @columns:Array<Maybe<&1, M>> -> @ids:List<&2, U32> -> Pair(Array<Maybe<&1, M>>, List<&2, U32>)
def prototype_handoff_recover source · line 70 · raw
@-Schema:Data -> @-M:Type -> @rows:PrototypeHandoffRows<Schema, M> -> @columns:Array<Maybe<&1, M>> -> Pair(Array<Maybe<&1, M>>, List<&2, U32>)
Templates
template prototype_handoff_struct_idx_selected source · line 31 · raw
@-Schema:Data -> @-M:Type -> @-A:Type -> @-F:Data -> @include:Bool -> @+id:U32 -> @namespace:U32 -> @main:Array<Maybe<&1, M>> -> @aux:Array<Maybe<&1, A>> -> @live:Array<Bool> -> @flags:Array<Maybe<&2, F>> -> @added:Array<U32> -> @changed:Array<U32> -> @values:PrototypeHandoffRows<Schema, M> -> @flag:Maybe<&2, F> -> PrototypeHandoffState<Schema, M, A, F>
template prototype_handoff_struct_idx_metadata source · line 36 · raw
@-Schema:Data -> @-M:Type -> @-A:Type -> @-F:Data -> @id:U32 -> @namespace:U32 -> @selection:Selection -> @main:Array<Maybe<&1, M>> -> @aux:Array<Maybe<&1, A>> -> @values:PrototypeHandoffRows<Schema, M> -> @live:Array<Bool> -> @added:Array<U32> -> @changed:Array<U32> -> @value:Bool -> @result:Pair(Array<Maybe<&2, F>>, Maybe<&2, F>) -> PrototypeHandoffState<Schema, M, A, F>
template prototype_handoff_struct_cols_live source · line 41 · raw
@-Schema:Data -> @-M:Type -> @-A:Type -> @-F:Data -> @+id:U32 -> @namespace:U32 -> @selection:Selection -> @main:Array<Maybe<&1, M>> -> @aux:Array<Maybe<&1, A>> -> @values:PrototypeHandoffRows<Schema, M> -> @flags:Array<Maybe<&2, F>> -> @added:Array<U32> -> @changed:Array<U32> -> @result:Pair(Array<Bool>, Bool) -> PrototypeHandoffState<Schema, M, A, F>
template prototype_handoff_struct_idx_advance source · line 46 · raw
@-Schema:Data -> @-M:Type -> @-A:Type -> @-F:Data -> @valid:Bool -> @+id:U32 -> @namespace:U32 -> @selection:Selection -> @state:PrototypeHandoffState<Schema, M, A, F> -> PrototypeHandoffState<Schema, M, A, F>
template prototype_handoff_struct_idx_go source · line 55 · raw
@-Schema:Data -> @-M:Type -> @-A:Type -> @-F:Data -> @remaining:Nat -> @+id:U32 -> @+capacity:U32 -> @+depth:Nat -> @+high:U32 -> @+selection:Selection -> @+namespace:U32 -> @state:PrototypeHandoffState<Schema, M, A, F> -> Pair(Rows<M, A, F>, PrototypeHandoffRows<Schema, M>)
template prototype_handoff_read_rows source · line 60 · raw
@-Schema:Data -> @-M:Type -> @-A:Type -> @-F:Data -> @rows:Rows<M, A, F> -> @selection:Selection -> @namespace:U32 -> Pair(Rows<M, A, F>, PrototypeHandoffRows<Schema, M>)