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

Method processFull

deps/v8/tools/parse-processor.mjs:982–996  ·  view source on GitHub ↗
(
      scriptId, startPosition, endPosition, duration, timestamp, functionName)

Source from the content-addressed store, hash-verified

980 }
981
982 processFull(
983 scriptId, startPosition, endPosition, duration, timestamp, functionName) {
984 if (startPosition == 0) {
985 // This should only happen for eval.
986 let script = this.lookupScript(scriptId);
987 script.isEval = true;
988 return;
989 }
990 let funktion = this.getOrCreateFunction(...arguments);
991 // TODO(cbruni): this should never happen, emit differen event from the
992 // parser.
993 if (funktion.parseTimestamp > 0) return;
994 funktion.parseTimestamp = startOf(timestamp, duration);
995 funktion.parseDuration = duration;
996 }
997
998 processParseFunction(
999 scriptId, startPosition, endPosition, duration, timestamp, functionName) {

Callers

nothing calls this directly

Calls 3

lookupScriptMethod · 0.95
getOrCreateFunctionMethod · 0.95
startOfFunction · 0.85

Tested by

no test coverage detected