mixin

Lib

@Js
const mixin Lib : Dict

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 types

Top level type specs keyed by simple name (excludes synthetic types)

instance

Lookup an instance dict by its simple name

depends

List the dependencies

instances

List the instance data dicts declared in this library

mixinFor

Lookup the mixin for the given type in this library

type

Convenience for types.get

version

Version of this library

spec

Convenience for specs.get

specs

Top level specs keyed by simple name (types and mixins)

mixins

Top level mixin specs keyed by simple name

eachInstance

Iterate the instances

meta

Meta data for library

name

Dotted name of the library

files

Access all the resource files contained by this library

id

Return "lib:{name}" as identifier

depends abstract LibDepend[] depends()

List the dependencies

eachInstance abstract Void eachInstance(|Dict| f)

Iterate the instances

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 Ref id()

Return "lib:{name}" as identifier

instance abstract Dict? instance(Str name, Bool checked)

Lookup an instance dict by its simple name

instances abstract Dict[] instances()

List the instance data dicts declared in this library

meta abstract Dict meta()

Meta data for library

mixinFor abstract Spec? mixinFor(Spec type, Bool checked)

Lookup the mixin for the given type in this library

mixins abstract SpecMap mixins()

Top level mixin specs keyed by simple name

name abstract Str name()

Dotted name of the library

spec abstract Spec? spec(Str name, Bool checked)

Convenience for specs.get

specs abstract SpecMap specs()

Top level specs keyed by simple name (types and mixins)

type abstract Spec? type(Str name, Bool checked)

Convenience for types.get

types abstract SpecMap types()

Top level type specs keyed by simple name (excludes synthetic types)

version abstract Version version()

Version of this library

Haxall 4.0.5 ∙ 24-Feb-2026 14:33 EST