type
Lib
Versioned library module of specs and defs.
Lib dict representation:
- id: Ref "lib:{name}"
- spec: Ref "sys::Lib"
- loaded: marker tag if loaded into memory
- meta
methods
_id |
Return "lib:{name}" as identifier This is a temp shim until we move |
---|---|
depends |
List the dependencies |
global |
Lookup a top level global slot spec in this library by simple name |
globals |
List the top level global slots |
instance |
Lookup an instance dict by its simple name |
instances |
List the instance data dicts declared in this library |
meta |
Meta data for library |
name |
Dotted name of the library |
spec |
Lookup a top level spec in this library by simple name (type or global slot) |
specs |
List the top level specs (types and global slots) |
type |
Lookup a top level type spec in this library by simple name |
types |
List the top level types |
version |
Version of this library |
Slot Details
_id
abstract override Ref _id()
Return "lib:{name}" as identifier This is a temp shim until we move haystack::Dict
fully into Xeto.
depends
abstract LibDepend[] depends()
List the dependencies
global
globals
abstract Spec[] globals()
List the top level global slots
instance
instances
abstract Dict[] instances()
List the instance data dicts declared in this library
meta
abstract Dict meta()
Meta data for library
name
abstract Str name()
Dotted name of the library
spec
specs
abstract Spec[] specs()
List the top level specs (types and global slots)
type
types
abstract Spec[] types()
List the top level types
version
abstract Version version()
Version of this library