(declaration *ast.Node)
| 13957 | } |
| 13958 | |
| 13959 | func (c *Checker) IsDeprecatedDeclaration(declaration *ast.Node) bool { |
| 13960 | return ast.IsDeprecatedDeclarationWithCachedFlags(declaration, c.getCombinedNodeFlagsCached(declaration)) |
| 13961 | } |
| 13962 | |
| 13963 | func (c *Checker) addDeprecatedSuggestion(location *ast.Node, declarations []*ast.Node, deprecatedEntity string) *ast.Diagnostic { |
| 13964 | diagnostic := NewDiagnosticForNode(location, diagnostics.X_0_is_deprecated, deprecatedEntity) |
no test coverage detected