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

Method toString

tests/fuzz/edit-model.ts:121–123  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

119 }
120
121 toString(): string {
122 return this.left[0] + this.between(0, this.original.length) + this.right[this.original.length]
123 }
124
125 /** Like MagicString, leaves out the string intro and outro */
126 length(): number {

Callers 15

checkFunction · 0.95
hasChangedMethod · 0.95
isEmptyMethod · 0.95
update.test.tsFile · 0.45
slice.test.tsFile · 0.45
append.test.tsFile · 0.45
reset.test.tsFile · 0.45
prepend.test.tsFile · 0.45
insert.test.tsFile · 0.45
replace.test.tsFile · 0.45
misc.test.tsFile · 0.45
move.test.tsFile · 0.45

Calls 1

betweenMethod · 0.95

Tested by 1

checkFunction · 0.76