| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 library analyzer.src.generated.resolver; | 5 library analyzer.src.generated.resolver; |
| 6 | 6 |
| 7 import 'dart:collection'; | 7 import 'dart:collection'; |
| 8 | 8 |
| 9 import 'package:analyzer/dart/ast/ast.dart'; | 9 import 'package:analyzer/dart/ast/ast.dart'; |
| 10 import 'package:analyzer/dart/ast/token.dart'; | 10 import 'package:analyzer/dart/ast/token.dart'; |
| 11 import 'package:analyzer/dart/ast/visitor.dart'; | 11 import 'package:analyzer/dart/ast/visitor.dart'; |
| 12 import 'package:analyzer/dart/element/element.dart'; | 12 import 'package:analyzer/dart/element/element.dart'; |
| 13 import 'package:analyzer/dart/element/type.dart'; | 13 import 'package:analyzer/dart/element/type.dart'; |
| 14 import 'package:analyzer/dart/element/visitor.dart'; | 14 import 'package:analyzer/dart/element/visitor.dart'; |
| 15 import 'package:analyzer/error/error.dart'; | 15 import 'package:analyzer/error/error.dart'; |
| 16 import 'package:analyzer/error/listener.dart'; | 16 import 'package:analyzer/error/listener.dart'; |
| 17 import 'package:analyzer/exception/exception.dart'; | 17 import 'package:analyzer/exception/exception.dart'; |
| 18 import 'package:analyzer/src/dart/ast/ast.dart'; | 18 import 'package:analyzer/src/dart/ast/ast.dart'; |
| 19 import 'package:analyzer/src/dart/ast/utilities.dart'; | 19 import 'package:analyzer/src/dart/ast/utilities.dart'; |
| 20 import 'package:analyzer/src/dart/element/element.dart'; | 20 import 'package:analyzer/src/dart/element/element.dart'; |
| 21 import 'package:analyzer/src/dart/element/type.dart'; | 21 import 'package:analyzer/src/dart/element/type.dart'; |
| 22 import 'package:analyzer/src/dart/element/utilities.dart'; | 22 import 'package:analyzer/src/dart/element/utilities.dart'; |
| 23 import 'package:analyzer/src/dart/resolver/inheritance_manager.dart'; | 23 import 'package:analyzer/src/dart/resolver/inheritance_manager.dart'; |
| 24 import 'package:analyzer/src/dart/resolver/scope.dart'; | 24 import 'package:analyzer/src/dart/resolver/scope.dart'; |
| 25 import 'package:analyzer/src/error/codes.dart'; | 25 import 'package:analyzer/src/error/codes.dart'; |
| 26 import 'package:analyzer/src/generated/constant.dart'; | 26 import 'package:analyzer/src/generated/constant.dart'; |
| 27 import 'package:analyzer/src/generated/element_resolver.dart'; | 27 import 'package:analyzer/src/generated/element_resolver.dart'; |
| 28 import 'package:analyzer/src/generated/engine.dart'; | 28 import 'package:analyzer/src/generated/engine.dart'; |
| 29 import 'package:analyzer/src/generated/error_verifier.dart'; | 29 import 'package:analyzer/src/generated/error_verifier.dart'; |
| 30 import 'package:analyzer/src/generated/java_core.dart'; | |
| 31 import 'package:analyzer/src/generated/source.dart'; | 30 import 'package:analyzer/src/generated/source.dart'; |
| 32 import 'package:analyzer/src/generated/static_type_analyzer.dart'; | 31 import 'package:analyzer/src/generated/static_type_analyzer.dart'; |
| 33 import 'package:analyzer/src/generated/type_system.dart'; | 32 import 'package:analyzer/src/generated/type_system.dart'; |
| 34 import 'package:analyzer/src/generated/utilities_dart.dart'; | 33 import 'package:analyzer/src/generated/utilities_dart.dart'; |
| 35 | 34 |
| 36 export 'package:analyzer/src/dart/resolver/inheritance_manager.dart'; | 35 export 'package:analyzer/src/dart/resolver/inheritance_manager.dart'; |
| 37 export 'package:analyzer/src/dart/resolver/scope.dart'; | 36 export 'package:analyzer/src/dart/resolver/scope.dart'; |
| 38 export 'package:analyzer/src/generated/type_system.dart'; | 37 export 'package:analyzer/src/generated/type_system.dart'; |
| 39 | 38 |
| 40 /** | 39 /** |
| (...skipping 11231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11272 return null; | 11271 return null; |
| 11273 } | 11272 } |
| 11274 if (identical(node.staticElement, variable)) { | 11273 if (identical(node.staticElement, variable)) { |
| 11275 if (node.inSetterContext()) { | 11274 if (node.inSetterContext()) { |
| 11276 result = true; | 11275 result = true; |
| 11277 } | 11276 } |
| 11278 } | 11277 } |
| 11279 return null; | 11278 return null; |
| 11280 } | 11279 } |
| 11281 } | 11280 } |
| OLD | NEW |