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 |
files |
Access all the resource files contained by this library. |
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 |
metaSpec |
Lookup a top level meta spec in this library by simple name |
metaSpecs |
List the top level meta specs |
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
files
abstract LibFiles files()
Access all the resource files contained by this library. Resources are any files included in the libs's zip file excluding xeto files. This API is only available in server environments.
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
metaSpec
metaSpecs
abstract Spec[] metaSpecs()
List the top level meta specs
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