Searched refs:lineAndCharacter (Results 1 – 5 of 5) sorted by relevance
/third_party/typescript/src/services/formatting/ |
D | smartIndenter.ts | 528 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/ |
D | typeWriter.ts | 104 … const lineAndCharacter = this.currentSourceFile.getLineAndCharacterOfPosition(actualPos); constant 152 line: lineAndCharacter.line, 187 line: lineAndCharacter.line,
|
D | harnessLanguageService.ts | 237 …public lineAndCharacterToPosition(fileName: string, lineAndCharacter: ts.LineAndCharacter): number… 240 …s.computePositionOfLineAndCharacter(script.getLineMap(), lineAndCharacter.line, lineAndCharacter.c…
|
/third_party/typescript/tests/cases/fourslash/ |
D | fourslash.ts | 239 position(lineAndCharacter: ts.LineAndCharacter, fileName?: string): void;
|
/third_party/typescript/src/server/ |
D | session.ts | 85 function convertToLocation(lineAndCharacter: LineAndCharacter): protocol.Location { 86 return { line: lineAndCharacter.line + 1, offset: lineAndCharacter.character + 1 };
|