MCPcopy Create free account
hub / github.com/TruthHun/BookStack / StringSourceRange

Function StringSourceRange

static/word2md/mammoth.browser.js:14849–14854  ·  view source on GitHub ↗
(string, description, startIndex, endIndex)

Source from the content-addressed store, hash-verified

14847};
14848
14849var StringSourceRange = function(string, description, startIndex, endIndex) {
14850 this._string = string;
14851 this._description = description;
14852 this._startIndex = startIndex;
14853 this._endIndex = endIndex;
14854};
14855
14856StringSourceRange.prototype.to = function(otherRange) {
14857 // TODO: Assert that tokens are the same across both iterators

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected