Home
last modified time | relevance | path

Searched refs:absolutePosition (Results 1 – 2 of 2) sorted by relevance

/third_party/typescript/src/server/
DscriptVersionCache.ts13 absolutePosition: number; property
323 const { lineText, absolutePosition } = index.lineNumberToInfo(line + 1); constant
324 …!== undefined ? lineText.length : index.absolutePositionOfStartOfLine(line + 2) - absolutePosition;
325 return createTextSpan(absolutePosition, len);
393 return this.lineNumberToInfo(oneBasedLine).absolutePosition;
413 return { absolutePosition: position, lineText: leaf && leaf.text };
416 return { absolutePosition: this.root.charCount(), lineText: undefined };
Dsession.ts2028 … const { lineText, absolutePosition } = scriptInfo.getAbsolutePositionAndLineText(args.line); constant
2046 const firstNoWhiteSpacePosition = absolutePosition + i;
2048 … span: createTextSpanFromBounds(absolutePosition, firstNoWhiteSpacePosition),