code: function setOffsetToIndex(startIndex, offset, baseline) {
              const loc = sourceCode.getLocFromIndex(startIndex)
              setOffsetToLoc(loc, offset, baseline)
          }
docs: Set offset to the given index.
  @param {number} startIndex The start index to set.
  @param {number} offset The offset of the tokens.
  @param {number} baseline The line of the base offset.
  @returns {void}