MCPcopy Create free account
hub / github.com/nodejs/node / accumulateNestingLevel

Method accumulateNestingLevel

deps/v8/tools/parse-processor.mjs:682–685  ·  view source on GitHub ↗
(accumulator)

Source from the content-addressed store, hash-verified

680 }
681
682 accumulateNestingLevel(accumulator) {
683 let value = accumulator[this.nestingLevel] || 0;
684 accumulator[this.nestingLevel] = value + this.getOwnBytes();
685 }
686
687 addNestedFunktion(child) {
688 if (this.script != child.script) throw "Incompatible script";

Callers 1

constructorMethod · 0.80

Calls 1

getOwnBytesMethod · 0.95

Tested by

no test coverage detected