MCPcopy Index your code
hub / github.com/nodejs/node / addAllFunktions

Method addAllFunktions

deps/v8/tools/parse-processor.mjs:513–519  ·  view source on GitHub ↗
(script)

Source from the content-addressed store, hash-verified

511 }
512
513 addAllFunktions(script) {
514 // funktions is indexed by byte offset and as such not packed. Add every
515 // Funktion one by one to keep this.funktions packed.
516 script.funktions.forEach(fn => this.funktions.push(fn));
517 this.scripts.push(script);
518 this.bytesTotal += script.bytesTotal;
519 }
520
521 // Iterate over all Scripts and nested Funktions.
522 forEach(fn) {

Callers 1

postProcessMethod · 0.80

Calls 2

forEachMethod · 0.65
pushMethod · 0.45

Tested by

no test coverage detected