Home
last modified time | relevance | path

Searched refs:newLineCharacter (Results 1 – 18 of 18) sorted by relevance

/third_party/typescript/src/services/
DtextChanges.ts316 …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 …]
Dtypes.ts984 newLineCharacter?: string; property
1032 export function getDefaultFormatCodeSettings(newLineCharacter?: string): FormatCodeSettings {
1036 newLineCharacter: newLineCharacter || "\n",
Dutilities.ts2431 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/
DtextChanges.ts19 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 …]
DcancellableLanguageServiceOperations.ts31 newLineCharacter: "\n",
DconvertToAsyncFunction.ts370 outputText = data.join(newLineCharacter);
DorganizeImports.ts1026 ].join(newLineCharacter));
/third_party/typescript/src/services/codefixes/
DdisableJsDiagnostics.ts19 …const newLineCharacter = sourceFile.checkJsDirective ? "" : getNewLineOrDefaultFromHost(host, form… constant
27 : createTextSpan(0, 0), `// @ts-nocheck${newLineCharacter}`),
/third_party/typescript/src/testRunner/unittests/services/extract/
Dhelpers.ts66 export const newLineCharacter = "\n"; constant
129 …ness.Baseline.runBaseline(`${baselineFolder}/${caption}${extension}`, data.join(newLineCharacter));
/third_party/typescript/src/testRunner/unittests/tsserver/
Dsession.ts116 newLineCharacter: "`n"
325 newLineCharacter: "`n"
714 newLineCharacter: "`n"
/third_party/typescript/tests/cases/fourslash/
Dfourslash.ts160 newLineCharacter?: string;
/third_party/typescript/src/server/
Dprotocol.ts3420 newLineCharacter?: string; property
/third_party/typescript/lib/
Dprotocol.d.ts2667 newLineCharacter?: string; property
Dtsserverlibrary.d.ts6741 newLineCharacter?: string; property
6786 function getDefaultFormatCodeSettings(newLineCharacter?: string): FormatCodeSettings;
10172 newLineCharacter?: string;
Dtypescript.d.ts6741 newLineCharacter?: string; property
6786 function getDefaultFormatCodeSettings(newLineCharacter?: string): FormatCodeSettings;
DtypescriptServices.d.ts6741 newLineCharacter?: string; property
6786 function getDefaultFormatCodeSettings(newLineCharacter?: string): FormatCodeSettings;
/third_party/typescript/tests/baselines/reference/api/
Dtsserverlibrary.d.ts6741 newLineCharacter?: string; property
6786 function getDefaultFormatCodeSettings(newLineCharacter?: string): FormatCodeSettings;
10172 newLineCharacter?: string;
Dtypescript.d.ts6741 newLineCharacter?: string; property
6786 function getDefaultFormatCodeSettings(newLineCharacter?: string): FormatCodeSettings;