/third_party/typescript/src/services/ |
D | textChanges.ts | 316 …constructor(private readonly newLineCharacter: string, private readonly formatContext: formatting.… property in ts.textChanges.ChangeTracker 409 … const suffix = this.nextCommaToken(sourceFile, oldNode) ? "" : ("," + this.newLineCharacter); 432 prefix: pos === 0 ? undefined : this.newLineCharacter, 433 …(sourceFile.text.charCodeAt(pos)) ? "" : this.newLineCharacter) + (blankLineBetween ? this.newLine… 475 …const text = `${insertAtLineStart ? "" : this.newLineCharacter}//${commentText}${this.newLineChara… 491 this.insertNodeAt(sourceFile, fnStart, tag, { suffix: this.newLineCharacter + indent }); 562 …return { suffix: blankLineBetween ? this.newLineCharacter + this.newLineCharacter : this.newLineCh… 574 return { suffix: "," + (blankLineBetween ? this.newLineCharacter : " ") }; 616 …arCodeAt(scope.getLastToken()!.pos)) ? this.newLineCharacter : this.newLineCharacter + this.newLin… 617 suffix: this.newLineCharacter [all …]
|
D | types.ts | 984 newLineCharacter?: string; property 1032 export function getDefaultFormatCodeSettings(newLineCharacter?: string): FormatCodeSettings { 1036 newLineCharacter: newLineCharacter || "\n",
|
D | utilities.ts | 2431 return formatSettings?.newLineCharacter || 3407 export function getNewLineKind(newLineCharacter: string): NewLineKind { 3408 … return newLineCharacter === "\n" ? NewLineKind.LineFeed : NewLineKind.CarriageReturnLineFeed;
|
/third_party/typescript/src/testRunner/unittests/services/ |
D | textChanges.ts | 19 const newLineCharacter = getNewLineCharacter(printerOptions); constant 51 … const changeTracker = new textChanges.ChangeTracker(newLineCharacter, rulesProvider); 57 …anges/${caption}.js`, `===ORIGINAL===${newLineCharacter}${text}${newLineCharacter}===MODIFIED===${… 104 …NodeRange(sourceFile, statements[0], last(statements), newStatement, { suffix: newLineCharacter }); 218 …t.indexOf("var y"), end: text.indexOf("var a") }, createTestClass(), { suffix: newLineCharacter }); 221 …var y"), end: text.indexOf("var a") }, createTestClass(), { suffix: newLineCharacter, indentation:… 250 …findVariableStatementContaining("y", sourceFile), createTestClass(), { suffix: newLineCharacter }); 253 …tion: textChanges.LeadingTriviaOption.Exclude, suffix: newLineCharacter, prefix: newLineCharacter … 256 …s(), { trailingTriviaOption: textChanges.TrailingTriviaOption.Exclude, suffix: newLineCharacter }); 275 …findVariableStatementContaining("z", sourceFile), createTestClass(), { suffix: newLineCharacter }); [all …]
|
D | cancellableLanguageServiceOperations.ts | 31 newLineCharacter: "\n",
|
D | convertToAsyncFunction.ts | 370 outputText = data.join(newLineCharacter);
|
D | organizeImports.ts | 1026 ].join(newLineCharacter));
|
/third_party/typescript/src/services/codefixes/ |
D | disableJsDiagnostics.ts | 19 …const newLineCharacter = sourceFile.checkJsDirective ? "" : getNewLineOrDefaultFromHost(host, form… constant 27 : createTextSpan(0, 0), `// @ts-nocheck${newLineCharacter}`),
|
/third_party/typescript/src/testRunner/unittests/services/extract/ |
D | helpers.ts | 66 export const newLineCharacter = "\n"; constant 129 …ness.Baseline.runBaseline(`${baselineFolder}/${caption}${extension}`, data.join(newLineCharacter));
|
/third_party/typescript/src/testRunner/unittests/tsserver/ |
D | session.ts | 116 newLineCharacter: "`n" 325 newLineCharacter: "`n" 714 newLineCharacter: "`n"
|
/third_party/typescript/tests/cases/fourslash/ |
D | fourslash.ts | 160 newLineCharacter?: string;
|
/third_party/typescript/src/server/ |
D | protocol.ts | 3420 newLineCharacter?: string; property
|
/third_party/typescript/lib/ |
D | protocol.d.ts | 2667 newLineCharacter?: string; property
|
D | tsserverlibrary.d.ts | 6741 newLineCharacter?: string; property 6786 function getDefaultFormatCodeSettings(newLineCharacter?: string): FormatCodeSettings; 10172 newLineCharacter?: string;
|
D | typescript.d.ts | 6741 newLineCharacter?: string; property 6786 function getDefaultFormatCodeSettings(newLineCharacter?: string): FormatCodeSettings;
|
D | typescriptServices.d.ts | 6741 newLineCharacter?: string; property 6786 function getDefaultFormatCodeSettings(newLineCharacter?: string): FormatCodeSettings;
|
/third_party/typescript/tests/baselines/reference/api/ |
D | tsserverlibrary.d.ts | 6741 newLineCharacter?: string; property 6786 function getDefaultFormatCodeSettings(newLineCharacter?: string): FormatCodeSettings; 10172 newLineCharacter?: string;
|
D | typescript.d.ts | 6741 newLineCharacter?: string; property 6786 function getDefaultFormatCodeSettings(newLineCharacter?: string): FormatCodeSettings;
|