| OLD | NEW |
| 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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 dart2js.resolution.tree_elements; | 5 library dart2js.resolution.tree_elements; |
| 6 | 6 |
| 7 import '../common.dart'; | 7 import '../common.dart'; |
| 8 import '../constants/expressions.dart'; | 8 import '../constants/expressions.dart'; |
| 9 import '../dart_types.dart'; | 9 import '../elements/resolution_types.dart'; |
| 10 import '../diagnostics/source_span.dart'; | 10 import '../diagnostics/source_span.dart'; |
| 11 import '../elements/elements.dart'; | 11 import '../elements/elements.dart'; |
| 12 import '../tree/tree.dart'; | 12 import '../tree/tree.dart'; |
| 13 import '../universe/selector.dart' show Selector; | 13 import '../universe/selector.dart' show Selector; |
| 14 import '../util/util.dart'; | 14 import '../util/util.dart'; |
| 15 import 'secret_tree_element.dart' show getTreeElement, setTreeElement; | 15 import 'secret_tree_element.dart' show getTreeElement, setTreeElement; |
| 16 import 'send_structure.dart'; | 16 import 'send_structure.dart'; |
| 17 | 17 |
| 18 abstract class TreeElements { | 18 abstract class TreeElements { |
| 19 AnalyzableElement get analyzedElement; | 19 AnalyzableElement get analyzedElement; |
| (...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 427 _nativeData = <Node, dynamic>{}; | 427 _nativeData = <Node, dynamic>{}; |
| 428 } | 428 } |
| 429 _nativeData[node] = nativeData; | 429 _nativeData[node] = nativeData; |
| 430 } | 430 } |
| 431 | 431 |
| 432 @override | 432 @override |
| 433 dynamic getNativeData(Node node) { | 433 dynamic getNativeData(Node node) { |
| 434 return _nativeData != null ? _nativeData[node] : null; | 434 return _nativeData != null ? _nativeData[node] : null; |
| 435 } | 435 } |
| 436 } | 436 } |
| OLD | NEW |