restore_graph_mapping.bend checks
raw source on the hub · import bendvy-ecs-core@0.1.0.2/restore_graph_mapping.bend as Restore_graph_mapping
6 imports
import Base import ./entity_key.bend as Key import ./world.bend as W import ./restore_data.bend as Basic import ./relation_types.bend as G import ./relation_graph.bend as Graph
Types
type Mapped source · line 8 · raw
@S:Data -> Data
Mapped@S:Data -> @graph:0xb2b0f04555daca474f0f77d0966945c9/relation_types.Graph<S> -> Mapped<S>
MissingBinding@S:Data -> @saved:0xb2b0f04555daca474f0f77d0966945c9/entity_key.Key -> Mapped<S>
Templates
template target source · line 11 · raw
@-S:Data -> @descriptor:0xb2b0f04555daca474f0f77d0966945c9/relation_types.Descriptor<S> -> @source:0xb2b0f04555daca474f0f77d0966945c9/world.Handle<S> -> @saved:0xb2b0f04555daca474f0f77d0966945c9/entity_key.Key -> @result:Maybe<&2, 0xb2b0f04555daca474f0f77d0966945c9/world.Handle<S>> -> @graph:0xb2b0f04555daca474f0f77d0966945c9/relation_types.Graph<S> -> @next:(@_:0xb2b0f04555daca474f0f77d0966945c9/relation_types.Graph<S> -> Mapped<S>) -> Mapped<S>
template source source · line 15 · raw
@-S:Data -> @descriptor:0xb2b0f04555daca474f0f77d0966945c9/relation_types.Descriptor<S> -> @saved:0xb2b0f04555daca474f0f77d0966945c9/entity_key.Key -> @+other:0xb2b0f04555daca474f0f77d0966945c9/entity_key.Key -> @+bindings:List<&2, 0xb2b0f04555daca474f0f77d0966945c9/restore_data.Binding<S>> -> @result:Maybe<&2, 0xb2b0f04555daca474f0f77d0966945c9/world.Handle<S>> -> @graph:0xb2b0f04555daca474f0f77d0966945c9/relation_types.Graph<S> -> @next:(@_:0xb2b0f04555daca474f0f77d0966945c9/relation_types.Graph<S> -> Mapped<S>) -> Mapped<S>
template edges source · line 19 · raw
@-S:Data -> @values:List<&2, 0xb2b0f04555daca474f0f77d0966945c9/relation_types.Edge<S>> -> @+bindings:List<&2, 0xb2b0f04555daca474f0f77d0966945c9/restore_data.Binding<S>> -> @graph:0xb2b0f04555daca474f0f77d0966945c9/relation_types.Graph<S> -> Mapped<S>
template remap source · line 23 · raw
@-S:Data -> @graph:0xb2b0f04555daca474f0f77d0966945c9/relation_types.Graph<S> -> @bindings:List<&2, 0xb2b0f04555daca474f0f77d0966945c9/restore_data.Binding<S>> -> Mapped<S>