~/bend-docscommunity

hierarchy_provider.bend checks

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

10 imports
import Base
import entity_key.bend as Key
import ./relation_types.bend as G
import ./relation_graph.bend as Graph
import ./relation_commands.bend as A
import ./relation_reorder.bend as Reorder
import ./relation_providers.bend as Relations
import ./world.bend as W
import ./capabilities.bend as Cap
import ./hierarchy_traversal.bend as T

Types

type Path source · line 12 · raw

@S:Data -> Data

type Frame source · line 15 · raw

@S:Data -> Data

type Read source · line 17 · raw

@H:Type -> @S:Data -> Type

Definitions

def read source · line 43 · raw

@-H:Type -> @-S:Data -> @caps:Read<H, S> -> @owner:H -> @target:0x7e321819d0ff210531780719c7674cef/world.Handle<S> -> Pair(H, Maybe<&2, Frame<S>>)

Templates

template path source · line 19 · raw

@-S:Data -> @walk:0x7e321819d0ff210531780719c7674cef/hierarchy_traversal.Walk -> @+namespace:U32 -> Path<S>

template handle source · line 23 · raw

@-S:Data -> @id:Maybe<&2, 0x7e321819d0ff210531780719c7674cef/entity_key.Key> -> @namespace:U32 -> Maybe<&2, 0x7e321819d0ff210531780719c7674cef/world.Handle<S>>

template snapshot source · line 27 · raw

@-S:Data -> @+graph:0x7e321819d0ff210531780719c7674cef/relation_types.Graph<S> -> @+descriptor:0x7e321819d0ff210531780719c7674cef/relation_types.Descriptor<S> -> @target:0x7e321819d0ff210531780719c7674cef/world.Handle<S> -> Frame<S>

template store_snapshot source · line 30 · raw

@-S:Data -> @-C:Type -> @store:0x7e321819d0ff210531780719c7674cef/relation_commands.Store<S, C> -> @descriptor:0x7e321819d0ff210531780719c7674cef/relation_types.Descriptor<S> -> @target:0x7e321819d0ff210531780719c7674cef/world.Handle<S> -> Pair(0x7e321819d0ff210531780719c7674cef/relation_commands.Store<S, C>, Frame<S>)

template present source · line 33 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @result:Pair(0x7e321819d0ff210531780719c7674cef/world.World<S, 0x7e321819d0ff210531780719c7674cef/relation_commands.Store<S, C>, R, 0x7e321819d0ff210531780719c7674cef/relation_commands.Notice<S, E>>, Frame<S>) -> Pair(0x7e321819d0ff210531780719c7674cef/world.World<S, 0x7e321819d0ff210531780719c7674cef/relation_commands.Store<S, C>, R, 0x7e321819d0ff210531780719c7674cef/relation_commands.Notice<S, E>>, Maybe<&2, Frame<S>>)

template checked source · line 36 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-descriptor:0x7e321819d0ff210531780719c7674cef/relation_types.HierarchyDescriptor<S> -> @observed:Pair(0x7e321819d0ff210531780719c7674cef/world.World<S, 0x7e321819d0ff210531780719c7674cef/relation_commands.Store<S, C>, R, 0x7e321819d0ff210531780719c7674cef/relation_commands.Notice<S, E>>, Bool) -> @target:0x7e321819d0ff210531780719c7674cef/world.Handle<S> -> Pair(0x7e321819d0ff210531780719c7674cef/world.World<S, 0x7e321819d0ff210531780719c7674cef/relation_commands.Store<S, C>, R, 0x7e321819d0ff210531780719c7674cef/relation_commands.Notice<S, E>>, Maybe<&2, Frame<S>>)

template lookup source · line 40 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-descriptor:0x7e321819d0ff210531780719c7674cef/relation_types.HierarchyDescriptor<S> -> @world:0x7e321819d0ff210531780719c7674cef/world.World<S, 0x7e321819d0ff210531780719c7674cef/relation_commands.Store<S, C>, R, 0x7e321819d0ff210531780719c7674cef/relation_commands.Notice<S, E>> -> @target:0x7e321819d0ff210531780719c7674cef/world.Handle<S> -> Pair(0x7e321819d0ff210531780719c7674cef/world.World<S, 0x7e321819d0ff210531780719c7674cef/relation_commands.Store<S, C>, R, 0x7e321819d0ff210531780719c7674cef/relation_commands.Notice<S, E>>, Maybe<&2, Frame<S>>)

template grant source · line 46 · raw

@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-descriptor:0x7e321819d0ff210531780719c7674cef/relation_types.HierarchyDescriptor<S> -> @-Out:Type -> @-body:(@-H:Type -> @_:Read<H, S> -> @_:0x7e321819d0ff210531780719c7674cef/world.Handle<S> -> @_:H -> Pair(H, Out)) -> @target:0x7e321819d0ff210531780719c7674cef/world.Handle<S> -> @world:0x7e321819d0ff210531780719c7674cef/world.World<S, 0x7e321819d0ff210531780719c7674cef/relation_commands.Store<S, C>, R, 0x7e321819d0ff210531780719c7674cef/relation_commands.Notice<S, E>> -> Pair(0x7e321819d0ff210531780719c7674cef/world.World<S, 0x7e321819d0ff210531780719c7674cef/relation_commands.Store<S, C>, R, 0x7e321819d0ff210531780719c7674cef/relation_commands.Notice<S, E>>, Out)