ModuleRegistry
Classes
Functions
- get(target, p, receiver) ⇒
Class
ModuleRegistry
Kind: global class
- ModuleRegistry
- .proxy :
ModuleRegistry
- .traverse(visitor)
- .get(name) ⇒
M
- .has(name) ⇒
boolean
- .add(name, module) ⇒
boolean
- .findNamesByModule(module) ⇒
Array.<string>
- .proxy :
moduleRegistry.proxy : ModuleRegistry
Kind: instance property of ModuleRegistry
Read only: true
moduleRegistry.traverse(visitor)
Kind: instance method of ModuleRegistry
Param | Type |
---|---|
visitor | function |
moduleRegistry.get(name) ⇒ M
Kind: instance method of ModuleRegistry
Param | Type |
---|---|
name | String |
moduleRegistry.has(name) ⇒ boolean
Kind: instance method of ModuleRegistry
Param | Type |
---|---|
name | string |
moduleRegistry.add(name, module) ⇒ boolean
Kind: instance method of ModuleRegistry
Param | Type |
---|---|
name | string |
module | M |
moduleRegistry.findNamesByModule(module) ⇒ Array.<string>
Find all names associated with the given module
Kind: instance method of ModuleRegistry
Throws:
- if module is not registered
Param | Type |
---|---|
module | M |
get(target, p, receiver) ⇒ Class
Kind: global function
Param | Type |
---|---|
target | |
p | string |
receiver |