(ctx context.Context, sourceFile *ast.SourceFile)
| 1305 | } |
| 1306 | |
| 1307 | func (p *Program) GetDeclarationDiagnostics(ctx context.Context, sourceFile *ast.SourceFile) []*ast.Diagnostic { |
| 1308 | return p.collectDiagnostics(ctx, sourceFile, true /*concurrent*/, p.getDeclarationDiagnosticsForFile) |
| 1309 | } |
| 1310 | |
| 1311 | func FilterNoEmitSemanticDiagnostics(diagnostics []*ast.Diagnostic, options *core.CompilerOptions) []*ast.Diagnostic { |
| 1312 | if !options.NoEmit.IsTrue() { |
nothing calls this directly
no test coverage detected