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
| depends |
List the dependencies |
|---|---|
| eachInstance |
Iterate the instances |
| files |
Access all the resource files contained by this library. |
| id |
Return "lib:{name}" as identifier |
| instance |
Lookup an instance dict by its simple name |
| instances |
List the instance data dicts declared in this library |
| meta |
Meta data for library |
| mixinFor |
Lookup the mixin for the given type in this library |
| mixins |
Top level mixin specs keyed by simple name |
| name |
Dotted name of the library |
| spec |
Convenience for |
| specs |
Top level specs keyed by simple name (types and mixins) |
| type |
Convenience for |
| types |
Top level type specs keyed by simple name (excludes synthetic types) |
| version |
Version of this library |
Slot Details
depends
abstract LibDepend[] depends()
List the dependencies
eachInstance
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.
id
abstract override Ref id()
Return "lib:{name}" as identifier
instance
instances
abstract Dict[] instances()
List the instance data dicts declared in this library
meta
abstract Dict meta()
Meta data for library
mixinFor
mixins
abstract SpecMap mixins()
Top level mixin specs keyed by simple name
name
abstract Str name()
Dotted name of the library
spec
specs
abstract SpecMap specs()
Top level specs keyed by simple name (types and mixins)
type
types
abstract SpecMap types()
Top level type specs keyed by simple name (excludes synthetic types)
version
abstract Version version()
Version of this library