Home
last modified time | relevance | path

Searched refs:DiagnosticCategory (Results 1 – 25 of 29) sorted by relevance

12

/third_party/typescript/lib/
Dtsc.js3552 var DiagnosticCategory;
3553 (function (DiagnosticCategory) { argument
3554 DiagnosticCategory[DiagnosticCategory["Warning"] = 0] = "Warning";
3555 DiagnosticCategory[DiagnosticCategory["Error"] = 1] = "Error";
3556 DiagnosticCategory[DiagnosticCategory["Suggestion"] = 2] = "Suggestion";
3557 DiagnosticCategory[DiagnosticCategory["Message"] = 3] = "Message";
3558 })(DiagnosticCategory = ts.DiagnosticCategory || (ts.DiagnosticCategory = {}));
3561 var name = DiagnosticCategory[d.category];
5405 …Unterminated_string_literal: diag(1002, ts.DiagnosticCategory.Error, "Unterminated_string_literal_…
5406 …Identifier_expected: diag(1003, ts.DiagnosticCategory.Error, "Identifier_expected_1003", "Identifi…
[all …]
DtypingsInstaller.js5454 var DiagnosticCategory;
5455 (function (DiagnosticCategory) { argument
5456 DiagnosticCategory[DiagnosticCategory["Warning"] = 0] = "Warning";
5457 DiagnosticCategory[DiagnosticCategory["Error"] = 1] = "Error";
5458 DiagnosticCategory[DiagnosticCategory["Suggestion"] = 2] = "Suggestion";
5459 DiagnosticCategory[DiagnosticCategory["Message"] = 3] = "Message";
5460 })(DiagnosticCategory = ts.DiagnosticCategory || (ts.DiagnosticCategory = {}));
5464 var name = DiagnosticCategory[d.category];
8259 …Unterminated_string_literal: diag(1002, ts.DiagnosticCategory.Error, "Unterminated_string_literal_…
8260 …Identifier_expected: diag(1003, ts.DiagnosticCategory.Error, "Identifier_expected_1003", "Identifi…
[all …]
Dtypescript.d.ts2972 category: DiagnosticCategory;
2986 category: DiagnosticCategory;
2998 category: DiagnosticCategory;
3010 export enum DiagnosticCategory { enum
3438 type: DiagnosticCategory;
3456 type?: DiagnosticCategory;
DtypescriptServices.d.ts2972 category: DiagnosticCategory;
2986 category: DiagnosticCategory;
2998 category: DiagnosticCategory;
3010 export enum DiagnosticCategory { enum
3438 type: DiagnosticCategory;
3456 type?: DiagnosticCategory;
Dtsserverlibrary.d.ts2972 category: DiagnosticCategory;
2986 category: DiagnosticCategory;
2998 category: DiagnosticCategory;
3010 export enum DiagnosticCategory { enum
3438 type: DiagnosticCategory;
3456 type?: DiagnosticCategory;
/third_party/typescript/src/linter/ArkTSLinter_1_0/
DLinterRunner.ts19 function makeDiag(category: DiagnosticCategory, code: number, file: SourceFile, start: number, leng…
25 …roblemInfo.severity === Utils.ProblemSeverity.ERROR ? DiagnosticCategory.Error : DiagnosticCategor…
/third_party/typescript/src/testRunner/unittests/tsserver/
DconditionCheck.ts85 type: DiagnosticCategory.Warning,
96 type: DiagnosticCategory.Warning
DjsdocTag.ts764 type: DiagnosticCategory.Warning,
771 type: DiagnosticCategory.Warning,
783 type: DiagnosticCategory.Warning
DexternalProjects.ts71 category: DiagnosticCategory.Warning,
/third_party/typescript/src/linter/ArkTSLinter_1_1/
DLinterRunner.ts19 function makeDiag(category: DiagnosticCategory, code: number, file: SourceFile, start: number, leng…
25 …oblemInfo.severity === Common.ProblemSeverity.ERROR ? DiagnosticCategory.Error : DiagnosticCategor…
/third_party/typescript/scripts/
DprocessDiagnosticMessages.mjs84 …" function diag(code: number, category: DiagnosticCategory, key: string, message: string, repor…
94 …result += ` ${propName}: diag(${code}, DiagnosticCategory.${category}, "${createKey(propNam…
/third_party/typescript/src/services/codefixes/
DdisableJsDiagnostics.ts7 return diag.category === DiagnosticCategory.Error ? diag.code : undefined;
/third_party/typescript/src/harness/
DcompilerImpl.ts272 category: ts.DiagnosticCategory.Error,
278 category: ts.DiagnosticCategory.Error,
DharnessLanguageService.ts929 category: ts.DiagnosticCategory.Warning,
956 category: ts.DiagnosticCategory.Error,
Dclient.ts424 const category = firstDefined(Object.keys(DiagnosticCategory), id =>
425 …isString(id) && entry.category === id.toLowerCase() ? (DiagnosticCategory as any)[id] : undefined);
DvirtualFileSystemWithWatch.ts886 type: DiagnosticCategory.Warning
/third_party/typescript/src/testRunner/unittests/config/
DconfigurationExtension.ts204 …assert.equal(actualError.category, DiagnosticCategory.Error, "Category mismatch"); // Should alway…
/third_party/typescript/tests/cases/fourslash/
Dfourslash.ts87 enum DiagnosticCategory { enum
102 category: DiagnosticCategory;
/third_party/typescript/src/compiler/
Dwatch.ts106 … return countWhere(diagnostics, diagnostic => diagnostic.category === DiagnosticCategory.Error);
111 filter(diagnostics, diagnostic => diagnostic.category === DiagnosticCategory.Error)
Dprogram.ts334 function getCategoryFormat(category: DiagnosticCategory): ForegroundColorEscapeSequences {
336 case DiagnosticCategory.Error: return ForegroundColorEscapeSequences.Red;
337 case DiagnosticCategory.Warning: return ForegroundColorEscapeSequences.Yellow;
338 …case DiagnosticCategory.Suggestion: return Debug.fail("Should never get an Info diagnostic on the …
339 case DiagnosticCategory.Message: return ForegroundColorEscapeSequences.Blue;
Dbuilder.ts13 category: DiagnosticCategory;
1227 …`${locationInfo(diagnostic)}${DiagnosticCategory[diagnostic.category]}${diagnostic.code}: ${flatte…
Dtypes.ts6488 category: DiagnosticCategory;
6505 category: DiagnosticCategory;
6521 category: DiagnosticCategory;
6543 export enum DiagnosticCategory {
6550 …export function diagnosticCategoryName(d: { category: DiagnosticCategory }, lowerCase = true): str…
6551 const name = DiagnosticCategory[d.category];
7317 type: DiagnosticCategory;
7336 type?: DiagnosticCategory;
/third_party/typescript/tests/baselines/reference/api/
Dtypescript.d.ts2972 category: DiagnosticCategory;
2986 category: DiagnosticCategory;
2998 category: DiagnosticCategory;
3010 export enum DiagnosticCategory { enum
3438 type: DiagnosticCategory;
3456 type?: DiagnosticCategory;
Dtsserverlibrary.d.ts2972 category: DiagnosticCategory;
2986 category: DiagnosticCategory;
2998 category: DiagnosticCategory;
3010 export enum DiagnosticCategory { enum
3438 type: DiagnosticCategory;
3456 type?: DiagnosticCategory;
/third_party/typescript/src/server/
Dproject.ts419 type: DiagnosticCategory.Warning

12