* Compiles a module source text with the module's URI * * @param {ModulePrivate} priv a module private object * @param {string} text the module source text to compile * @returns {Module}
(priv, text)
| 119 | * @returns {Module} |
| 120 | */ |
| 121 | compileModule(priv, text) { |
| 122 | const compiled = this.compileFunc(priv.uri, text); |
| 123 | |
| 124 | setModulePrivate(compiled, priv); |
| 125 | |
| 126 | return compiled; |
| 127 | } |
| 128 | |
| 129 | /** |
| 130 | * @param {string} specifier the specifier (e.g. relative path, root package) to resolve |
no outgoing calls
no test coverage detected