ordinary_component_clear_declaration.bend checks
raw source on the hub · import bendvy-ecs-core@0.1.0.0/ordinary_component_clear_declaration.bend as Ordinary_component_clear_declaration
6 imports
import Base import ./world.bend as W import ./column.bend as Col import ./ordinary_declaration.bend as Identity import ./ordinary_component_binding.bend as Binding import ./ordinary_component_despawn.bend as Clear
Types
type Declaration source · line 9 · raw
@-S:Data -> @-Store:Type -> @-E:Data -> @-clear:(@_:Store -> @_:0x296ca5f551e3792cd56cfc8122905b94/world.Handle<S> -> Pair(Store, List<&2, E>)) -> Data
Closed trusted setup declaration; the same clear index supplies execution.
Declaration@-S:Data -> @-Store:Type -> @-E:Data -> @-clear:(@_:Store -> @_:0x296ca5f551e3792cd56cfc8122905b94/world.Handle<S> -> Pair(Store, List<&2, E>)) -> @keys:List<&2, String> -> Declaration<S, Store, E, clear>
Templates
template keys source · line 11 · raw
@-S:Data -> @-Store:Type -> @-E:Data -> @-clear:(@_:Store -> @_:0x296ca5f551e3792cd56cfc8122905b94/world.Handle<S> -> Pair(Store, List<&2, E>)) -> @declaration:Declaration<S, Store, E, clear> -> List<&2, String>
template leaf source · line 14 · raw
@-S:Data -> @-Store:Type -> @-Rest:Type -> @-P:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x296ca5f551e3792cd56cfc8122905b94/column.Column<S, P>)) -> @-put:(@_:Rest -> @_:0x296ca5f551e3792cd56cfc8122905b94/column.Column<S, P> -> Store) -> @-view:(@_:P -> Pair(P, V)) -> @-E:Data -> @-inject:(@_:0x296ca5f551e3792cd56cfc8122905b94/ordinary_declaration.Declaration<S, P> -> @_:0x296ca5f551e3792cd56cfc8122905b94/world.Handle<S> -> E) -> @-binding:0x296ca5f551e3792cd56cfc8122905b94/ordinary_component_binding.Binding<S, Store, Rest, P, V, Token, take, put, view> -> Declaration<S, Store, E, 0x296ca5f551e3792cd56cfc8122905b94/ordinary_component_despawn.leaf(S, Store, Rest, P, V, Token, take, put, view, E, inject, binding)>
template product_clear source · line 16 · raw
@-S:Data -> @-Store:Type -> @-E:Data -> @-left:(@_:Store -> @_:0x296ca5f551e3792cd56cfc8122905b94/world.Handle<S> -> Pair(Store, List<&2, E>)) -> @-right:(@_:Store -> @_:0x296ca5f551e3792cd56cfc8122905b94/world.Handle<S> -> Pair(Store, List<&2, E>)) -> @store:Store -> @handle:0x296ca5f551e3792cd56cfc8122905b94/world.Handle<S> -> Pair(Store, List<&2, E>)
template product source · line 18 · raw
@-S:Data -> @-Store:Type -> @-E:Data -> @-left:(@_:Store -> @_:0x296ca5f551e3792cd56cfc8122905b94/world.Handle<S> -> Pair(Store, List<&2, E>)) -> @-right:(@_:Store -> @_:0x296ca5f551e3792cd56cfc8122905b94/world.Handle<S> -> Pair(Store, List<&2, E>)) -> @-leftDeclaration:Declaration<S, Store, E, left> -> @-rightDeclaration:Declaration<S, Store, E, right> -> Declaration<S, Store, E, product_clear(S, Store, E, left, right)>