Home
last modified time | relevance | path

Searched refs:lineStartPosition (Results 1 – 7 of 7) sorted by relevance

/third_party/typescript/tests/baselines/reference/
Dparserindenter.js166 … var lineStartPosition = this.snapshot.GetLineFromLineNumber(line).startPosition();
167 var lineIndent = this.GetLineIndentationForOffset(lineStartPosition);
171 var tokenStartPosition = lineStartPosition + lineIndent.length;
693 … var lineStartPosition = this.snapshot.GetLineFromPosition(indent.Position).startPosition();
694 var lineIndentLength = indent.Position - lineStartPosition;
696 … = IndentationEditInfo.create2(indent.Position, indent.ReplaceWith, lineStartPosition, lineIndentL…
878 … var lineStartPosition = this.snapshot.GetLineFromLineNumber(line).startPosition();
879 var lineIndent = this.GetLineIndentationForOffset(lineStartPosition);
882 var tokenStartPosition = lineStartPosition + lineIndent.length;
1307 … var lineStartPosition = this.snapshot.GetLineFromPosition(indent.Position).startPosition();
[all …]
Dparserindenter.symbols419 … var lineStartPosition = this.snapshot.GetLineFromLineNumber(line).startPosition();
420 >lineStartPosition : Symbol(lineStartPosition, Decl(parserindenter.ts, 164, 23))
426 var lineIndent = this.GetLineIndentationForOffset(lineStartPosition);
431 >lineStartPosition : Symbol(lineStartPosition, Decl(parserindenter.ts, 164, 23))
444 var tokenStartPosition = lineStartPosition + lineIndent.length;
446 >lineStartPosition : Symbol(lineStartPosition, Decl(parserindenter.ts, 164, 23))
1749 … var lineStartPosition = this.snapshot.GetLineFromPosition(indent.Position).startPosition();
1750 >lineStartPosition : Symbol(lineStartPosition, Decl(parserindenter.ts, 691, 19))
1756 var lineIndentLength = indent.Position - lineStartPosition;
1759 >lineStartPosition : Symbol(lineStartPosition, Decl(parserindenter.ts, 691, 19))
[all …]
Dparserindenter.types661 … var lineStartPosition = this.snapshot.GetLineFromLineNumber(line).startPosition();
662 >lineStartPosition : any
674 var lineIndent = this.GetLineIndentationForOffset(lineStartPosition);
676 >this.GetLineIndentationForOffset(lineStartPosition) : string
680 >lineStartPosition : any
696 var tokenStartPosition = lineStartPosition + lineIndent.length;
698 >lineStartPosition + lineIndent.length : any
699 >lineStartPosition : any
2829 … var lineStartPosition = this.snapshot.GetLineFromPosition(indent.Position).startPosition();
2830 >lineStartPosition : any
[all …]
Dparserindenter.errors.txt354 … var lineStartPosition = this.snapshot.GetLineFromLineNumber(line).startPosition();
355 var lineIndent = this.GetLineIndentationForOffset(lineStartPosition);
359 var tokenStartPosition = lineStartPosition + lineIndent.length;
1051 … var lineStartPosition = this.snapshot.GetLineFromPosition(indent.Position).startPosition();
1052 var lineIndentLength = indent.Position - lineStartPosition;
1054 … = IndentationEditInfo.create2(indent.Position, indent.ReplaceWith, lineStartPosition, lineIndentL…
/third_party/typescript/tests/cases/conformance/parser/ecmascript5/RealWorld/
Dparserindenter.ts165 … var lineStartPosition = this.snapshot.GetLineFromLineNumber(line).startPosition();
166 var lineIndent = this.GetLineIndentationForOffset(lineStartPosition);
170 var tokenStartPosition = lineStartPosition + lineIndent.length;
692 … var lineStartPosition = this.snapshot.GetLineFromPosition(indent.Position).startPosition(); variable
693 var lineIndentLength = indent.Position - lineStartPosition; variable
695 … = IndentationEditInfo.create2(indent.Position, indent.ReplaceWith, lineStartPosition, lineIndentL…
/third_party/typescript/src/services/formatting/
Dformatting.ts1159 const lineStartPosition = getStartPositionOfLine(line, sourceFile); constant
1167 … const whitespaceStart = getTrailingWhitespaceStartPosition(lineStartPosition, lineEndPosition);
1169 …Debug.assert(whitespaceStart === lineStartPosition || !isWhiteSpaceSingleLine(sourceFile.text.char…
/third_party/typescript/src/services/
DtextChanges.ts466 const lineStartPosition = getStartPositionOfLine(lineNumber, sourceFile); constant
467 … const startPosition = getFirstNonSpaceCharacterPosition(sourceFile.text, lineStartPosition);
474 const indent = sourceFile.text.slice(lineStartPosition, startPosition);