(diagnostics, errorFlags, errorType)
| 124605 | step++; |
| 124606 | } |
| 124607 | function handleDiagnostics(diagnostics, errorFlags, errorType) { |
| 124608 | var _a; |
| 124609 | if (diagnostics.length) { |
| 124610 | (_a = buildErrors(state, projectPath, program, config, diagnostics, errorFlags, errorType), buildResult = _a.buildResult, step = _a.step); |
| 124611 | } |
| 124612 | else { |
| 124613 | step++; |
| 124614 | } |
| 124615 | } |
| 124616 | function getSyntaxDiagnostics(cancellationToken) { |
| 124617 | ts.Debug.assertIsDefined(program); |
| 124618 | handleDiagnostics(__spreadArray(__spreadArray(__spreadArray(__spreadArray([], program.getConfigFileParsingDiagnostics(), true), program.getOptionsDiagnostics(cancellationToken), true), program.getGlobalDiagnostics(cancellationToken), true), program.getSyntacticDiagnostics(/*sourceFile*/ undefined, cancellationToken), true), BuildResultFlags.SyntaxErrors, "Syntactic"); |
no test coverage detected