1
>
/*---------------------------------------------------------------------------------------------
abstractText.ts
2
>
* Copyright (c) Microsoft Corporation. All rights reserved.
3
>
* Licensed under the MIT License. See License.txt in the project root for license information.
4
>
*--------------------------------------------------------------------------------------------*/
5
>
6
>
import { assert } from '../../../../base/common/assert.js';
7
>
import { splitLines } from '../../../../base/common/strings.js';
8
>
import { Position } from '../position.js';
9
>
import { Range } from '../range.js';
10
>
import { LineRange } from '../ranges/lineRange.js';
11
>
import { OffsetRange } from '../ranges/offsetRange.js';
12
>
import { TextLength } from '../text/textLength.js';
13
>
import { PositionOffsetTransformer } from './positionToOffsetImpl.js';
14
>
15
>
export abstract class AbstractText {
16
abstract getValueOfRange(range: Range): string;
17
abstract readonly length: TextLength;