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

Method addSourcemapLocation

benchmark/data.js:298–300  ·  view source on GitHub ↗
(char)

Source from the content-addressed store, hash-verified

296 this.byEnd[string.length] = chunk;
297 }
298 addSourcemapLocation(char) {
299 this.sourcemapLocations.add(char);
300 }
301 append(content) {
302 if (typeof content !== 'string') throw new TypeError('outro content must be a string');
303 this.outro += content;

Callers

nothing calls this directly

Calls 1

addMethod · 0.45

Tested by

no test coverage detected