src/vs/editor/common/tokens/lineTokens.ts/SliceLineTokens/getEndOffset
class SliceLineTokens:	public getEndOffset(tokenIndex: number): number {
		const tokenEndOffset = this._source.getEndOffset(this._firstTokenIndex + tokenIndex);
		return Math.min(this._endOffset, tokenEndOffset) - this._startOffset + this._deltaOffset;
	}