trace_relation.bend checks
raw source on the hub · import bendvy-ecs-core@0.1.0.1/trace_relation.bend as Trace_relation
6 imports
import Base import ./trace_facts.bend as Facts import ./relation_types.bend as G import ./world.bend as W import ./entity_key.bend as Key import ./entity_key_render.bend as Render
Definitions
def kind source · line 8 · raw
@value:0xf435da9e535b3846d643dad16580e35f/relation_types.RelationKind -> 0xf435da9e535b3846d643dad16580e35f/trace_facts.RelationKind
def error source · line 18 · raw
@value:0xf435da9e535b3846d643dad16580e35f/relation_types.Error -> String
def outcome source · line 28 · raw
@value:Maybe<&2, 0xf435da9e535b3846d643dad16580e35f/relation_types.Error> -> 0xf435da9e535b3846d643dad16580e35f/trace_facts.FactResult
Templates
template identity source · line 12 · raw
@-S:Data -> @value:0xf435da9e535b3846d643dad16580e35f/relation_types.Descriptor<S> -> 0xf435da9e535b3846d643dad16580e35f/trace_facts.RelationIdentity
template handle source · line 15 · raw
@-S:Data -> @target:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> 0xf435da9e535b3846d643dad16580e35f/trace_facts.HandleValue
template relate source · line 32 · raw
@-S:Data -> @state:0xf435da9e535b3846d643dad16580e35f/trace_facts.State -> @descriptor:0xf435da9e535b3846d643dad16580e35f/relation_types.Descriptor<S> -> @operation:0xf435da9e535b3846d643dad16580e35f/trace_facts.Operation -> @source:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> @target:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> @result:0xf435da9e535b3846d643dad16580e35f/trace_facts.FactResult -> 0xf435da9e535b3846d643dad16580e35f/trace_facts.State
template relate_applied source · line 36 · raw
@-S:Data -> @state:0xf435da9e535b3846d643dad16580e35f/trace_facts.State -> @descriptor:0xf435da9e535b3846d643dad16580e35f/relation_types.Descriptor<S> -> @source:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> @target:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> @error:Maybe<&2, 0xf435da9e535b3846d643dad16580e35f/relation_types.Error> -> 0xf435da9e535b3846d643dad16580e35f/trace_facts.State
template unrelate source · line 40 · raw
@-S:Data -> @state:0xf435da9e535b3846d643dad16580e35f/trace_facts.State -> @descriptor:0xf435da9e535b3846d643dad16580e35f/relation_types.Descriptor<S> -> @operation:0xf435da9e535b3846d643dad16580e35f/trace_facts.Operation -> @source:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> @result:0xf435da9e535b3846d643dad16580e35f/trace_facts.FactResult -> 0xf435da9e535b3846d643dad16580e35f/trace_facts.State
template handles source · line 44 · raw
@-S:Data -> @targets:List<&2, 0xf435da9e535b3846d643dad16580e35f/world.Handle<S>> -> List<&2, 0xf435da9e535b3846d643dad16580e35f/trace_facts.HandleValue>
template reorder source · line 48 · raw
@-S:Data -> @state:0xf435da9e535b3846d643dad16580e35f/trace_facts.State -> @descriptor:0xf435da9e535b3846d643dad16580e35f/relation_types.Descriptor<S> -> @operation:0xf435da9e535b3846d643dad16580e35f/trace_facts.Operation -> @parent:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> @children:List<&2, 0xf435da9e535b3846d643dad16580e35f/world.Handle<S>> -> @result:0xf435da9e535b3846d643dad16580e35f/trace_facts.FactResult -> 0xf435da9e535b3846d643dad16580e35f/trace_facts.State
template reorder_applied source · line 52 · raw
@-S:Data -> @state:0xf435da9e535b3846d643dad16580e35f/trace_facts.State -> @descriptor:0xf435da9e535b3846d643dad16580e35f/relation_types.Descriptor<S> -> @parent:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> @children:List<&2, 0xf435da9e535b3846d643dad16580e35f/world.Handle<S>> -> @error:Maybe<&2, 0xf435da9e535b3846d643dad16580e35f/relation_types.Error> -> 0xf435da9e535b3846d643dad16580e35f/trace_facts.State