Searched refs:parseDiagnostics (Results 1 – 25 of 26) sorted by relevance
12
/third_party/typescript_eslint/packages/typescript-estree/src/ |
D | ast-converter.ts | 20 const parseDiagnostics = (ast as any).parseDiagnostics; constant 21 if (parseDiagnostics.length) { 22 throw convertError(parseDiagnostics[0]);
|
/third_party/typescript/src/testRunner/unittests/config/ |
D | configurationExtension.ts | 222 …jsonSourceFile.parseDiagnostics.length, flattenDiagnosticMessageText(jsonSourceFile.parseDiagnosti…
|
D | convertTypeAcquisitionFromJson.ts | 41 assert(!result.parseDiagnostics.length);
|
D | tsconfigParsing.ts | 272 const diagnostics = result.parseDiagnostics;
|
D | convertCompilerOptionsFromJson.ts | 47 …assert.equal(!!result.parseDiagnostics.length, isExpectedResultWithParsingFailure(expectedResult));
|
/third_party/typescript/src/compiler/ |
D | parser.ts | 732 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 …]
|
D | commandLineParser.ts | 1630 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);
|
D | program.ts | 746 … [...configFileParseResult.options.configFile.parseDiagnostics, ...configFileParseResult.errors] : 1863 … return concatenate(sourceFile.additionalSyntacticDiagnostics, sourceFile.parseDiagnostics); 1865 return sourceFile.parseDiagnostics;
|
D | binder.ts | 2215 if (!file.parseDiagnostics.length && 2266 if (!file.parseDiagnostics.length) {
|
D | types.ts | 3509 /* @internal */ parseDiagnostics: DiagnosticWithLocation[];
|
/third_party/typescript_eslint/packages/typescript-estree/tests/lib/__snapshots__/ |
D | convert.test.ts.snap | 54 "parseDiagnostics": Array [],
|
/third_party/typescript/src/testRunner/unittests/ |
D | incrementalParser.ts | 22 const diagnostics1 = file1.parseDiagnostics; 23 const diagnostics2 = file2.parseDiagnostics;
|
/third_party/typescript/src/testRunner/ |
D | projectsRunner.ts | 153 errors = [...result.parseDiagnostics, ...configParseResult.errors];
|
/third_party/typescript/src/harness/ |
D | harnessIO.ts | 906 if (ts.length(fileParseResult.parseDiagnostics)) { 907 … jsCode += getErrorBaseline([file.asTestFile()], fileParseResult.parseDiagnostics);
|
D | fourslashImpl.ts | 2192 const incrementalSyntaxDiagnostics = incrementalSourceFile.parseDiagnostics; 2199 const referenceSyntaxDiagnostics = referenceSourceFile.parseDiagnostics;
|
/third_party/typescript/src/services/ |
D | shims.ts | 1247 … errors: realizeDiagnostics([...result.parseDiagnostics, ...configFile.errors], "\r\n")
|
D | services.ts | 631 public parseDiagnostics!: DiagnosticWithLocation[];
|
/third_party/typescript/src/services/formatting/ |
D | formatting.ts | 390 prepareRangeContainsErrorFunction(sourceFile.parseDiagnostics, originalRange),
|
/third_party/typescript/lib/ |
D | tsc.js | 23283 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 …]
|
D | typingsInstaller.js | 28816 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 …]
|
D | tsserverlibrary.js | 29021 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 …]
|
D | tsserver.js | 28827 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 …]
|
D | typescript.js | 29021 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 …]
|
D | typescriptServices.js | 29021 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/ |
D | editorServices.ts | 2130 const configFileErrors = result.parseDiagnostics as Diagnostic[];
|
12