Skip to main content

ModuleRegistry

Classes

ModuleRegistry

Functions

get(target, p, receiver)Class

ModuleRegistry

Kind: global class

moduleRegistry.proxy : ModuleRegistry

Kind: instance property of ModuleRegistry
Read only: true

moduleRegistry.traverse(visitor)

Kind: instance method of ModuleRegistry

ParamType
visitorfunction

moduleRegistry.get(name) ⇒ M

Kind: instance method of ModuleRegistry

ParamType
nameString

moduleRegistry.has(name) ⇒ boolean

Kind: instance method of ModuleRegistry

ParamType
namestring

moduleRegistry.add(name, module) ⇒ boolean

Kind: instance method of ModuleRegistry

ParamType
namestring
moduleM

moduleRegistry.findNamesByModule(module) ⇒ Array.<string>

Find all names associated with the given module

Kind: instance method of ModuleRegistry
Throws:

  • if module is not registered
ParamType
moduleM

get(target, p, receiver) ⇒ Class

Kind: global function

ParamType
target
pstring
receiver