MCPcopy Index your code
hub / github.com/mozilla/source-map / toString

Method toString

lib/source-node.js:330–336  ·  view source on GitHub ↗

* Return the string representation of this source node. Walks over the tree * and concatenates all the various snippets together to one string.

()

Source from the content-addressed store, hash-verified

328 * and concatenates all the various snippets together to one string.
329 */
330 toString() {
331 let str = "";
332 this.walk(function (chunk) {
333 str += chunk;
334 });
335 return str;
336 }
337
338 /**
339 * Returns the string representation of this source node along with a source

Callers 11

createSafeHandlerFunction · 0.45
withBaseFunction · 0.45
util.jsFile · 0.45
relativeIfPossibleFunction · 0.45
fromSourceMapMethod · 0.45
testFunction · 0.45
bench.jsFile · 0.45

Calls 1

walkMethod · 0.95

Tested by 1

testFunction · 0.36