MCPcopy
hub / github.com/vercel/next.js / toString

Method toString

packages/next/src/compiled/source-map08/source-map.js:2242–2248  ·  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

2240 * and concatenates all the various snippets together to one string.
2241 */
2242 toString() {
2243 let str = "";
2244 this.walk(function(chunk) {
2245 str += chunk;
2246 });
2247 return str;
2248 }
2249
2250 /**
2251 * Returns the string representation of this source node along with a source

Callers 5

fromSourceMapMethod · 0.45
createSafeHandlerFunction · 0.45
withBaseFunction · 0.45
source-map.jsFile · 0.45
relativeIfPossibleFunction · 0.45

Calls 1

walkMethod · 0.95

Tested by

no test coverage detected