MCPcopy Create free account
hub / github.com/Rich-Harris/magic-string / eachNext

Method eachNext

benchmark/data.js:46–52  ·  view source on GitHub ↗
(fn)

Source from the content-addressed store, hash-verified

44 return this.start < index && index < this.end;
45 }
46 eachNext(fn) {
47 let chunk = this;
48 while (chunk) {
49 fn(chunk);
50 chunk = chunk.next;
51 }
52 }
53 eachPrevious(fn) {
54 let chunk = this;
55 while (chunk) {

Callers 2

generateDecodedMapMethod · 0.45
generateDecodedMapMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected