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

Method addSourcemapLocation

benchmark/data-min.js:249–251  ·  view source on GitHub ↗
(t)

Source from the content-addressed store, hash-verified

247 (this.byEnd[t.length] = n));
248 }
249 addSourcemapLocation(t) {
250 this.sourcemapLocations.add(t);
251 }
252 append(t) {
253 if (typeof t != 'string') throw new TypeError('outro content must be a string');
254 return ((this.outro += t), this);

Callers 3

Bundle.test.tsFile · 0.45
clone.test.tsFile · 0.45

Calls 1

addMethod · 0.45

Tested by

no test coverage detected