File tree Expand file tree Collapse file tree 4 files changed +6
-1
lines changed Expand file tree Collapse file tree 4 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -5292,7 +5292,7 @@ package:analyzer/src/lint/config.dart:
52925292package:analyzer/src/lint/linter.dart:
52935293 LintRule (non-public)
52945294package:analyzer/src/task/api/model.dart:
5295- AnalysisTarget (class extends Object):
5295+ AnalysisTarget (class extends Object, deprecated ):
52965296 new (constructor: AnalysisTarget Function())
52975297 librarySource (getter: Source?)
52985298 source (getter: Source?)
Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ import 'package:analyzer/src/dart/constant/evaluation.dart';
5555import 'package:analyzer/src/dart/resolver/scope.dart' show Namespace;
5656import 'package:analyzer/src/generated/engine.dart' show AnalysisContext;
5757import 'package:analyzer/src/generated/utilities_dart.dart' ;
58+ // ignore: deprecated_member_use_from_same_package
5859import 'package:analyzer/src/task/api/model.dart' show AnalysisTarget;
5960import 'package:meta/meta.dart' ;
6061import 'package:pub_semver/pub_semver.dart' ;
@@ -390,6 +391,7 @@ abstract class DirectiveUriWithUnit extends DirectiveUriWithSource {
390391/// represent the semantic structure of the program.
391392///
392393/// Clients may not extend, implement or mix-in this class.
394+ // ignore: deprecated_member_use_from_same_package
393395abstract class Element implements AnalysisTarget {
394396 /// A list of this element's children.
395397 ///
Original file line number Diff line number Diff line change @@ -519,11 +519,13 @@ class ConstantEvaluationEngine {
519519 }
520520}
521521
522+ // ignore: deprecated_member_use_from_same_package
522523/// Interface for [AnalysisTarget] s for which constant evaluation can be
523524/// performed.
524525@AnalyzerPublicApi (
525526 message: 'exposed because it is implemented by various elements' )
526527// TODO(scheglov): consider implementing only in Impl or removing
528+ // ignore: deprecated_member_use_from_same_package
527529abstract class ConstantEvaluationTarget extends AnalysisTarget {
528530 /// Return the [AnalysisContext] which should be used to evaluate this
529531 /// constant.
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ import 'package:analyzer/source/source.dart';
1111/// Instances of this type are used in hashed data structures, so subtypes are
1212/// required to correctly implement [==] and [hashCode] .
1313@AnalyzerPublicApi (message: 'exposed by Element (superclass)' )
14+ @Deprecated ('To be removed without replacement' )
1415abstract class AnalysisTarget {
1516 /// If this target is associated with a library, return the source of the
1617 /// library's defining compilation unit; otherwise return `null` .
You can’t perform that action at this time.
0 commit comments