Home
last modified time | relevance | path

Searched refs:lineAndCharacter (Results 1 – 5 of 5) sorted by relevance

/third_party/typescript/src/services/formatting/
DsmartIndenter.ts528 let lineAndCharacter = getStartLineAndCharacterForNode(node, sourceFile);
535 if (prevEndLine !== lineAndCharacter.line) {
536 … return findColumnForFirstNonWhitespaceCharacterInLine(lineAndCharacter, sourceFile, options);
539 lineAndCharacter = getStartLineAndCharacterForNode(list[i], sourceFile);
544 …function findColumnForFirstNonWhitespaceCharacterInLine(lineAndCharacter: LineAndCharacter, source…
545 const lineStart = sourceFile.getPositionOfLineAndCharacter(lineAndCharacter.line, 0);
546 …return findFirstNonWhitespaceColumn(lineStart, lineStart + lineAndCharacter.character, sourceFile,…
/third_party/typescript/src/harness/
DtypeWriter.ts104 … const lineAndCharacter = this.currentSourceFile.getLineAndCharacterOfPosition(actualPos); constant
152 line: lineAndCharacter.line,
187 line: lineAndCharacter.line,
DharnessLanguageService.ts237 …public lineAndCharacterToPosition(fileName: string, lineAndCharacter: ts.LineAndCharacter): number…
240 …s.computePositionOfLineAndCharacter(script.getLineMap(), lineAndCharacter.line, lineAndCharacter.c…
/third_party/typescript/tests/cases/fourslash/
Dfourslash.ts239 position(lineAndCharacter: ts.LineAndCharacter, fileName?: string): void;
/third_party/typescript/src/server/
Dsession.ts85 function convertToLocation(lineAndCharacter: LineAndCharacter): protocol.Location {
86 return { line: lineAndCharacter.line + 1, offset: lineAndCharacter.character + 1 };