MCPcopy Create free account
hub / github.com/observablehq/framework / replaceRight

Method replaceRight

src/sourcemap.ts:65–69  ·  view source on GitHub ↗
(start: number, end: number, value: string)

Source from the content-addressed store, hash-verified

63 return this;
64 }
65 replaceRight(start: number, end: number, value: string): typeof this {
66 this._subsume(start, end);
67 this._edits.splice(this._bisectRight(start), 0, {start, end, value});
68 return this;
69 }
70 translate(position: Position): Position {
71 let index = 0;
72 let ci: Position = {line: 1, column: 0};

Callers 5

insertRightMethod · 0.95
deleteMethod · 0.95
sourcemap-test.tsFile · 0.80
interpolateBacktickFunction · 0.80

Calls 2

_subsumeMethod · 0.95
_bisectRightMethod · 0.95

Tested by

no test coverage detected