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

Function parseSourceLines

test/common/debugger.js:152–157  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

150 },
151
152 parseSourceLines() {
153 return getOutput().split('\n')
154 .map((line) => line.match(/(?:\*|>)?\s*(\d+)/))
155 .filter((match) => match !== null)
156 .map((match) => +match[1]);
157 },
158
159 writeLine(input, flush = true) {
160 if (flush) {

Callers

nothing calls this directly

Calls 5

getOutputFunction · 0.85
mapMethod · 0.65
filterMethod · 0.65
matchMethod · 0.65
splitMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…