~/bend-docscommunity

ordinary_checked_bindings.bend checks

raw source on the hub · import bendvy-ecs-core@0.1.0.7/ordinary_checked_bindings.bend as Ordinary_checked_bindings

4 imports
import Base
import ./ordinary_checked_condition.bend as Cond
import ./check.bend as K
import ./schedule.bend as Sch

Types

type Description source · line 6 · raw

Data

type Selection source · line 7 · raw

@World:Type -> @Owner:Type -> Type

type BoundOwner source · line 10 · raw

@Owner:Type -> Type

type Bindings source · line 11 · raw

@World:Type -> @Owner:Type -> @-select:(@_:Owner -> @_:World -> @_:U32 -> Selection<World, Owner>) -> Type

Definitions

def includes source · line 27 · raw

@values:List<&2, Description> -> @+id:U32 -> Bool

def contains source · line 51 · raw

@ids:List<&2, U32> -> @+id:U32 -> Bool

def unique source · line 55 · raw

@values:List<&2, Description> -> @+seen:List<&2, U32> -> Bool

def has_system source · line 59 · raw

@steps:List<&2, 0x7e321819d0ff210531780719c7674cef/schedule.Step> -> @+id:U32 -> Bool

def targets source · line 64 · raw

@values:List<&2, Description> -> @+steps:List<&2, 0x7e321819d0ff210531780719c7674cef/schedule.Step> -> Bool

Templates

template selected_returned source · line 13 · raw

@-World:Type -> @-Owner:Type -> @id:U32 -> @value:0x7e321819d0ff210531780719c7674cef/ordinary_checked_condition.Evaluation<World, Owner> -> Selection<World, BoundOwner<Owner>>

template selected source · line 17 · raw

@-World:Type -> @-Owner:Type -> @-evaluate:(@_:Owner -> @_:World -> 0x7e321819d0ff210531780719c7674cef/ordinary_checked_condition.Evaluation<World, Owner>) -> @allowed:Bool -> @id:U32 -> @owner:Owner -> @world:World -> Selection<World, BoundOwner<Owner>>

template select source · line 21 · raw

@-World:Type -> @-Owner:Type -> @-evaluate:(@_:Owner -> @_:World -> 0x7e321819d0ff210531780719c7674cef/ordinary_checked_condition.Evaluation<World, Owner>) -> @value:BoundOwner<Owner> -> @world:World -> @target:U32 -> Selection<World, BoundOwner<Owner>>

template bind source · line 24 · raw

@-World:Type -> @-Owner:Type -> @-evaluate:(@_:Owner -> @_:World -> 0x7e321819d0ff210531780719c7674cef/ordinary_checked_condition.Evaluation<World, Owner>) -> @+id:U32 -> @value:0x7e321819d0ff210531780719c7674cef/ordinary_checked_condition.Condition<World, Owner, evaluate> -> Bindings<World, BoundOwner<Owner>, select(World, Owner, evaluate)>

template with_right source · line 31 · raw

@-World:Type -> @-Left:Type -> @-Right:Type -> @right:Right -> @value:Selection<World, Left> -> Selection<World, Pair(Left, Right)>

template with_left source · line 35 · raw

@-World:Type -> @-Left:Type -> @-Right:Type -> @left:Left -> @value:Selection<World, Right> -> Selection<World, Pair(Left, Right)>

template pair_left_returned source · line 39 · raw

@-World:Type -> @-Left:Type -> @-Right:Type -> @-right_select:(@_:Right -> @_:World -> @_:U32 -> Selection<World, Right>) -> @right:Right -> @id:U32 -> @value:Selection<World, Left> -> Selection<World, Pair(Left, Right)>

template pair_shared source · line 43 · raw

@-World:Type -> @-Left:Type -> @-Right:Type -> @-left_select:(@_:Left -> @_:World -> @_:U32 -> Selection<World, Left>) -> @-right_select:(@_:Right -> @_:World -> @_:U32 -> Selection<World, Right>) -> @owners:Pair(Left, Right) -> @world:World -> @+id:U32 -> Selection<World, Pair(Left, Right)>

template pair_select source · line 46 · raw

@-World:Type -> @-Left:Type -> @-Right:Type -> @-left_select:(@_:Left -> @_:World -> @_:U32 -> Selection<World, Left>) -> @-right_select:(@_:Right -> @_:World -> @_:U32 -> Selection<World, Right>) -> @owners:Pair(Left, Right) -> @world:World -> @id:U32 -> Selection<World, Pair(Left, Right)>

template pair source · line 48 · raw

@-World:Type -> @-Left:Type -> @-Right:Type -> @-left_select:(@_:Left -> @_:World -> @_:U32 -> Selection<World, Left>) -> @-right_select:(@_:Right -> @_:World -> @_:U32 -> Selection<World, Right>) -> @left:Bindings<World, Left, left_select> -> @right:Bindings<World, Right, right_select> -> Bindings<World, Pair(Left, Right), pair_select(World, Left, Right, left_select, right_select)>