File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -3527,7 +3527,7 @@ package:analyzer/dart/element/element.dart:
35273527 uri (getter: String?)
35283528 uriEnd (getter: int)
35293529 uriOffset (getter: int)
3530- VariableElement (class extends Object implements Element, ConstantEvaluationTarget):
3530+ VariableElement (class extends Object implements Element, ConstantEvaluationTarget, deprecated ):
35313531 new (constructor: VariableElement Function())
35323532 declaration (getter: VariableElement)
35333533 hasImplicitType (getter: bool)
Original file line number Diff line number Diff line change @@ -2317,6 +2317,7 @@ abstract class UriReferencedElement implements _ExistingElement {
23172317/// variables.
23182318///
23192319/// Clients may not extend, implement or mix-in this class.
2320+ @Deprecated ('Use VariableElement2 instead' )
23202321abstract class VariableElement implements Element , ConstantEvaluationTarget {
23212322 @override
23222323 VariableElement get declaration;
Original file line number Diff line number Diff line change @@ -7783,7 +7783,7 @@ class LocalFunctionFragmentImpl extends FunctionElementImpl
77837783 bool get _includeNameOffsetInIdentifier {
77847784 return super ._includeNameOffsetInIdentifier ||
77857785 enclosingElement3 is ExecutableFragment ||
7786- enclosingElement3 is VariableElement ;
7786+ enclosingElement3 is VariableFragment ;
77877787 }
77887788}
77897789
@@ -11746,7 +11746,6 @@ abstract class VariableElement2OrMember implements VariableElement2 {
1174611746 TypeImpl get type;
1174711747}
1174811748
11749- /// A concrete implementation of a [VariableElement] .
1175011749abstract class VariableElementImpl extends ElementImpl
1175111750 implements VariableElementOrMember , VariableFragment {
1175211751 /// The type of this variable.
@@ -11905,7 +11904,10 @@ abstract class VariableElementImpl2 extends ElementImpl2
1190511904/// Common base class for all analyzer-internal classes that implement
1190611905/// `VariableElement` .
1190711906abstract class VariableElementOrMember
11908- implements ElementOrMember , VariableElement {
11907+ implements
11908+ ElementOrMember ,
11909+ // ignore:deprecated_member_use_from_same_package
11910+ VariableElement {
1190911911 @override
1191011912 VariableElementImpl get declaration;
1191111913
You can’t perform that action at this time.
0 commit comments