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

Method constructor

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

Source from the content-addressed store, hash-verified

177}
178class y {
179 constructor(t) {
180 ((this.hires = t),
181 (this.generatedCodeLine = 0),
182 (this.generatedCodeColumn = 0),
183 (this.raw = []),
184 (this.rawSegments = this.raw[this.generatedCodeLine] = []),
185 (this.pending = null));
186 }
187 addEdit(t, e, n, i) {
188 if (e.length) {
189 const r = [this.generatedCodeColumn, t, n.line, n.column];

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected