InjectableModule

class InjectableModule(val name: String, defs: Collection<Declaration<*>>)

A module that can be injected in environments. At their core, injectable modules are just lists of declarations that get copied over when adding this module to environments.

Constructors

Link copied to clipboard
constructor(name: String, defs: Collection<Declaration<*>>)

Properties

Link copied to clipboard

The declarations contained in this module.

Link copied to clipboard

The name of this module. It is only used for debugging purposes. May be empty.