Searched refs:lineAtPosition (Results 1 – 1 of 1) sorted by relevance
/third_party/typescript/src/services/formatting/ |
D | smartIndenter.ts | 53 const lineAtPosition = sourceFile.getLineAndCharacterOfPosition(position).line; constant 100 …return getSmartIndent(sourceFile, position, precedingToken, lineAtPosition, assumeNewLineBeforeClo… 140 …dent(sourceFile: SourceFile, position: number, precedingToken: Node, lineAtPosition: number, assum… 149 …ind = nextTokenIsCurlyBraceOnSameLineAsCursor(precedingToken, current, lineAtPosition, sourceFile); 153 : lineAtPosition !== currentStart.line ? options.indentSize : 0; 315 …nIsCurlyBraceOnSameLineAsCursor(precedingToken: Node, current: Node, lineAtPosition: number, sourc… 336 … return lineAtPosition === nextTokenStartLine ? NextTokenKind.CloseBrace : NextTokenKind.Unknown;
|