inspector_declaration.bend checks
raw source on the hub · import bendvy-ecs-core@0.1.0.5/inspector_declaration.bend as Inspector_declaration
4 imports
import Base import inspector_metadata.bend as Meta import inspector.bend as I import capabilities.bend as Cap
Types
type Declaration source · line 9 · raw
@-S:Data -> @-R:Type -> @-V:Data -> @-Token:Data -> @-project:(@_:R -> Pair(R, V)) -> Data
Trusted schema authoring only, like component.Family's indexed closed lens. The index binds which projection constructs this grant; it does not prove an arbitrary caller's numeric token/name/lens assertion is canonical or truthful.
Declaration@-S:Data -> @-R:Type -> @-V:Data -> @-Token:Data -> @-project:(@_:R -> Pair(R, V)) -> @id:U32 -> @name:String -> Declaration<S, R, V, Token, project>
type BoundRead source · line 11 · raw
@-S:Data -> @-H:Type -> @-V:Data -> Type
BoundRead@-S:Data -> @-H:Type -> @-V:Data -> @metadata:0x2a0aaf4f2cb3f416a9b91fd887916a5d/inspector_metadata.Resource<S> -> @read:0x2a0aaf4f2cb3f416a9b91fd887916a5d/capabilities.ValueRead<H, V> -> BoundRead<S, H, V>
Templates
template canonical source · line 14 · raw
@-S:Data -> @-R:Type -> @-V:Data -> @-Token:Data -> @-project:(@_:R -> Pair(R, V)) -> @id:U32 -> @name:String -> Declaration<S, R, V, Token, project>
template bind source · line 16 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-V:Data -> @-Token:Data -> @-project:(@_:R -> Pair(R, V)) -> @declaration:Declaration<S, R, V, Token, project> -> BoundRead<S, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/inspector.Frame<S, Store, R, E>, V>
template split source · line 19 · raw
@-S:Data -> @-H:Type -> @-V:Data -> @bound:BoundRead<S, H, V> -> Pair(0x2a0aaf4f2cb3f416a9b91fd887916a5d/inspector_metadata.Resource<S>, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/capabilities.ValueRead<H, V>)