MCPcopy
hub / github.com/webpack/webpack / createChild

Method createChild

lib/util/StackedMap.js:204–206  ·  view source on GitHub ↗

* Creates a child `StackedMap` that sees the current layers as its parent * scope. * @returns {StackedMap<K, V>} child map

()

Source from the content-addressed store, hash-verified

202 * @returns {StackedMap<K, V>} child map
203 */
204 createChild() {
205 return new StackedMap(this.stack);
206 }
207}
208
209module.exports = StackedMap;

Callers 4

inScopeMethod · 0.80
inClassScopeMethod · 0.80
inFunctionScopeMethod · 0.80
inBlockScopeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected