Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(22)

Side by Side Diff: pkg/compiler/lib/src/resolution/tree_elements.dart

Issue 2223133003: pkg/compiler: clean up imports (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 '../dart_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 '../types/types.dart' show TypeMask; 13 import '../types/types.dart' show TypeMask;
13 import '../tree/tree.dart'; 14 import '../universe/selector.dart' show Selector;
14 import '../util/util.dart'; 15 import '../util/util.dart';
15 import '../universe/selector.dart' show Selector;
16
17 import 'secret_tree_element.dart' show getTreeElement, setTreeElement; 16 import 'secret_tree_element.dart' show getTreeElement, setTreeElement;
18 import 'send_structure.dart'; 17 import 'send_structure.dart';
19 18
20 abstract class TreeElements { 19 abstract class TreeElements {
21 AnalyzableElement get analyzedElement; 20 AnalyzableElement get analyzedElement;
22 Iterable<SourceSpan> get superUses; 21 Iterable<SourceSpan> get superUses;
23 22
24 void forEachConstantNode(f(Node n, ConstantExpression c)); 23 void forEachConstantNode(f(Node n, ConstantExpression c));
25 24
26 Element operator [](Node node); 25 Element operator [](Node node);
(...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after
521 _nativeData = <Node, dynamic>{}; 520 _nativeData = <Node, dynamic>{};
522 } 521 }
523 _nativeData[node] = nativeData; 522 _nativeData[node] = nativeData;
524 } 523 }
525 524
526 @override 525 @override
527 dynamic getNativeData(Node node) { 526 dynamic getNativeData(Node node) {
528 return _nativeData != null ? _nativeData[node] : null; 527 return _nativeData != null ? _nativeData[node] : null;
529 } 528 }
530 } 529 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/resolution/send_structure.dart ('k') | pkg/compiler/lib/src/resolution/variables.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698