Home
last modified time | relevance | path

Searched refs:parseDiagnostics (Results 1 – 25 of 26) sorted by relevance

12

/third_party/typescript_eslint/packages/typescript-estree/src/
Dast-converter.ts20 const parseDiagnostics = (ast as any).parseDiagnostics; constant
21 if (parseDiagnostics.length) {
22 throw convertError(parseDiagnostics[0]);
/third_party/typescript/src/testRunner/unittests/config/
DconfigurationExtension.ts222 …jsonSourceFile.parseDiagnostics.length, flattenDiagnosticMessageText(jsonSourceFile.parseDiagnosti…
DconvertTypeAcquisitionFromJson.ts41 assert(!result.parseDiagnostics.length);
DtsconfigParsing.ts272 const diagnostics = result.parseDiagnostics;
DconvertCompilerOptionsFromJson.ts47 …assert.equal(!!result.parseDiagnostics.length, isExpectedResultWithParsingFailure(expectedResult));
/third_party/typescript/src/compiler/
Dparser.ts732 let parseDiagnostics: DiagnosticWithDetachedLocation[];
846 …convertToObjectWorker(result, result.parseDiagnostics, /*returnValue*/ false, /*knownRootOptions*/…
871 const isInvalid = token() === SyntaxKind.EndOfFileToken && !parseDiagnostics.length;
935 sourceFile.parseDiagnostics = attachFileToDiagnostics(parseDiagnostics, sourceFile);
959 parseDiagnostics = [];
1008 parseDiagnostics = undefined!;
1046 sourceFile.parseDiagnostics = attachFileToDiagnostics(parseDiagnostics, sourceFile);
1058 parseDiagnostics.push(createDetachedDiagnostic(fileName, pos, end, diagnostic));
1084 const savedParseDiagnostics = parseDiagnostics;
1086 parseDiagnostics = [];
[all …]
DcommandLineParser.ts1630 config: convertToObject(jsonSourceFile, jsonSourceFile.parseDiagnostics),
1631 … error: jsonSourceFile.parseDiagnostics.length ? jsonSourceFile.parseDiagnostics[0] : undefined
1641 …nText(fileName, textOrDiagnostic) : <TsConfigSourceFile>{ fileName, parseDiagnostics: [textOrDiagn…
2829 if (!extendedResult.parseDiagnostics.length) {
2843 if (extendedResult.parseDiagnostics.length) {
2844 errors.push(...extendedResult.parseDiagnostics);
Dprogram.ts746 … [...configFileParseResult.options.configFile.parseDiagnostics, ...configFileParseResult.errors] :
1863 … return concatenate(sourceFile.additionalSyntacticDiagnostics, sourceFile.parseDiagnostics);
1865 return sourceFile.parseDiagnostics;
Dbinder.ts2215 if (!file.parseDiagnostics.length &&
2266 if (!file.parseDiagnostics.length) {
Dtypes.ts3509 /* @internal */ parseDiagnostics: DiagnosticWithLocation[];
/third_party/typescript_eslint/packages/typescript-estree/tests/lib/__snapshots__/
Dconvert.test.ts.snap54 "parseDiagnostics": Array [],
/third_party/typescript/src/testRunner/unittests/
DincrementalParser.ts22 const diagnostics1 = file1.parseDiagnostics;
23 const diagnostics2 = file2.parseDiagnostics;
/third_party/typescript/src/testRunner/
DprojectsRunner.ts153 errors = [...result.parseDiagnostics, ...configParseResult.errors];
/third_party/typescript/src/harness/
DharnessIO.ts906 if (ts.length(fileParseResult.parseDiagnostics)) {
907 … jsCode += getErrorBaseline([file.asTestFile()], fileParseResult.parseDiagnostics);
DfourslashImpl.ts2192 const incrementalSyntaxDiagnostics = incrementalSourceFile.parseDiagnostics;
2199 const referenceSyntaxDiagnostics = referenceSourceFile.parseDiagnostics;
/third_party/typescript/src/services/
Dshims.ts1247 … errors: realizeDiagnostics([...result.parseDiagnostics, ...configFile.errors], "\r\n")
Dservices.ts631 public parseDiagnostics!: DiagnosticWithLocation[];
/third_party/typescript/src/services/formatting/
Dformatting.ts390 prepareRangeContainsErrorFunction(sourceFile.parseDiagnostics, originalRange),
/third_party/typescript/lib/
Dtsc.js23283 var parseDiagnostics;
23302 … ts.convertToObjectWorker(result_3, result_3.parseDiagnostics, false, undefined, undefined);
23321 var isInvalid = token() === 1 && !parseDiagnostics.length;
23379 sourceFile.parseDiagnostics = ts.attachFileToDiagnostics(parseDiagnostics, sourceFile);
23400 parseDiagnostics = [];
23436 parseDiagnostics = undefined;
23461 sourceFile.parseDiagnostics = ts.attachFileToDiagnostics(parseDiagnostics, sourceFile);
23470 parseDiagnostics.push(ts.createDetachedDiagnostic(fileName, pos, end, diagnostic));
23493 var savedParseDiagnostics = parseDiagnostics;
23494 parseDiagnostics = [];
[all …]
DtypingsInstaller.js28816 var parseDiagnostics;
28909 …ts.convertToObjectWorker(result_3, result_3.parseDiagnostics, /*returnValue*/ false, /*knownRootOp…
28930 var isInvalid = token() === 1 /* EndOfFileToken */ && !parseDiagnostics.length;
28991 sourceFile.parseDiagnostics = ts.attachFileToDiagnostics(parseDiagnostics, sourceFile);
29012 parseDiagnostics = [];
29051 parseDiagnostics = undefined;
29078 sourceFile.parseDiagnostics = ts.attachFileToDiagnostics(parseDiagnostics, sourceFile);
29087 parseDiagnostics.push(ts.createDetachedDiagnostic(fileName, pos, end, diagnostic));
29110 var savedParseDiagnostics = parseDiagnostics;
29111 parseDiagnostics = [];
[all …]
Dtsserverlibrary.js29021 var parseDiagnostics;
29114 …ts.convertToObjectWorker(result_3, result_3.parseDiagnostics, /*returnValue*/ false, /*knownRootOp…
29135 var isInvalid = token() === 1 /* EndOfFileToken */ && !parseDiagnostics.length;
29196 sourceFile.parseDiagnostics = ts.attachFileToDiagnostics(parseDiagnostics, sourceFile);
29217 parseDiagnostics = [];
29256 parseDiagnostics = undefined;
29283 sourceFile.parseDiagnostics = ts.attachFileToDiagnostics(parseDiagnostics, sourceFile);
29292 parseDiagnostics.push(ts.createDetachedDiagnostic(fileName, pos, end, diagnostic));
29315 var savedParseDiagnostics = parseDiagnostics;
29316 parseDiagnostics = [];
[all …]
Dtsserver.js28827 var parseDiagnostics;
28920 …ts.convertToObjectWorker(result_3, result_3.parseDiagnostics, /*returnValue*/ false, /*knownRootOp…
28941 var isInvalid = token() === 1 /* EndOfFileToken */ && !parseDiagnostics.length;
29002 sourceFile.parseDiagnostics = ts.attachFileToDiagnostics(parseDiagnostics, sourceFile);
29023 parseDiagnostics = [];
29062 parseDiagnostics = undefined;
29089 sourceFile.parseDiagnostics = ts.attachFileToDiagnostics(parseDiagnostics, sourceFile);
29098 parseDiagnostics.push(ts.createDetachedDiagnostic(fileName, pos, end, diagnostic));
29121 var savedParseDiagnostics = parseDiagnostics;
29122 parseDiagnostics = [];
[all …]
Dtypescript.js29021 var parseDiagnostics;
29114 …ts.convertToObjectWorker(result_3, result_3.parseDiagnostics, /*returnValue*/ false, /*knownRootOp…
29135 var isInvalid = token() === 1 /* EndOfFileToken */ && !parseDiagnostics.length;
29196 sourceFile.parseDiagnostics = ts.attachFileToDiagnostics(parseDiagnostics, sourceFile);
29217 parseDiagnostics = [];
29256 parseDiagnostics = undefined;
29283 sourceFile.parseDiagnostics = ts.attachFileToDiagnostics(parseDiagnostics, sourceFile);
29292 parseDiagnostics.push(ts.createDetachedDiagnostic(fileName, pos, end, diagnostic));
29315 var savedParseDiagnostics = parseDiagnostics;
29316 parseDiagnostics = [];
[all …]
DtypescriptServices.js29021 var parseDiagnostics;
29114 …ts.convertToObjectWorker(result_3, result_3.parseDiagnostics, /*returnValue*/ false, /*knownRootOp…
29135 var isInvalid = token() === 1 /* EndOfFileToken */ && !parseDiagnostics.length;
29196 sourceFile.parseDiagnostics = ts.attachFileToDiagnostics(parseDiagnostics, sourceFile);
29217 parseDiagnostics = [];
29256 parseDiagnostics = undefined;
29283 sourceFile.parseDiagnostics = ts.attachFileToDiagnostics(parseDiagnostics, sourceFile);
29292 parseDiagnostics.push(ts.createDetachedDiagnostic(fileName, pos, end, diagnostic));
29315 var savedParseDiagnostics = parseDiagnostics;
29316 parseDiagnostics = [];
[all …]
/third_party/typescript/src/server/
DeditorServices.ts2130 const configFileErrors = result.parseDiagnostics as Diagnostic[];

12