| Index: pkg/analyzer/lib/src/dart/ast/ast.dart
|
| diff --git a/pkg/analyzer/lib/src/dart/ast/ast.dart b/pkg/analyzer/lib/src/dart/ast/ast.dart
|
| index 4555a80031ad9492e24e7f8f56849580f5821fd3..3e6d6200b4329b5278e0bcd114651cd95a7a5f42 100644
|
| --- a/pkg/analyzer/lib/src/dart/ast/ast.dart
|
| +++ b/pkg/analyzer/lib/src/dart/ast/ast.dart
|
| @@ -3391,8 +3391,7 @@ abstract class DirectiveImpl extends AnnotatedNodeImpl implements Directive {
|
| * The element associated with this directive, or `null` if the AST structure
|
| * has not been resolved or if this directive could not be resolved.
|
| */
|
| - @override
|
| - Element element;
|
| + Element _element;
|
|
|
| /**
|
| * Initialize a newly create directive. Either or both of the [comment] and
|
| @@ -3401,6 +3400,16 @@ abstract class DirectiveImpl extends AnnotatedNodeImpl implements Directive {
|
| */
|
| DirectiveImpl(Comment comment, List<Annotation> metadata)
|
| : super(comment, metadata);
|
| +
|
| + @override
|
| + Element get element => _element;
|
| +
|
| + /**
|
| + * Set the element associated with this directive to be the given [element].
|
| + */
|
| + void set element(Element element) {
|
| + _element = element;
|
| + }
|
| }
|
|
|
| /**
|
|
|