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

Method constructor

benchmark/data-min.js:14–27  ·  view source on GitHub ↗
(t, e, n)

Source from the content-addressed store, hash-verified

12}
13class g {
14 constructor(t, e, n) {
15 ((this.start = t),
16 (this.end = e),
17 (this.original = n),
18 (this.intro = ''),
19 (this.outro = ''),
20 (this.content = n),
21 (this.storeName = !1),
22 (this.edited = !1),
23 Object.defineProperties(this, {
24 previous: { writable: !0, value: null },
25 next: { writable: !0, value: null },
26 }));
27 }
28 appendLeft(t) {
29 this.outro += t;
30 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected