* @private
(mainScope, resetCache)
| 278 | * @private |
| 279 | */ |
| 280 | _cachedScopes(mainScope, resetCache) { |
| 281 | const _scopeCache = this._scopeCache; |
| 282 | let cache = _scopeCache.get(mainScope); |
| 283 | if (!cache || resetCache) { |
| 284 | cache = new Map(); |
| 285 | _scopeCache.set(mainScope, cache); |
| 286 | } |
| 287 | return cache; |
| 288 | } |
| 289 | |
| 290 | /** |
| 291 | * Resolves the objects from options and defaults for option value resolution. |
no test coverage detected