| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 part of dart2js; | 5 library dart2js.resolved_visitor; |
| 6 |
| 7 import 'constants/expressions.dart'; |
| 8 import 'dart_types.dart' show |
| 9 DartType; |
| 10 import 'dart2jslib.dart' show |
| 11 invariant; |
| 12 import 'elements/elements.dart' show |
| 13 Element, |
| 14 Elements, |
| 15 ErroneousElement, |
| 16 FunctionElement, |
| 17 LocalFunctionElement, |
| 18 LocalVariableElement, |
| 19 ParameterElement, |
| 20 PrefixElement, |
| 21 TypeVariableElement; |
| 22 import 'resolution/operators.dart' as op; |
| 23 import 'resolution/resolution.dart' show |
| 24 TreeElements; |
| 25 import 'resolution/semantic_visitor.dart'; |
| 26 import 'resolution/send_structure.dart' show |
| 27 NewStructure, |
| 28 SemanticSendStructure, |
| 29 SendStructure; |
| 30 import 'tree/tree.dart'; |
| 31 import 'universe/universe.dart' show |
| 32 CallStructure, |
| 33 Selector; |
| 34 import 'util/util.dart' show |
| 35 Spannable; |
| 6 | 36 |
| 7 /// Enum for the visit methods added in [ResolvedVisitor]. | 37 /// Enum for the visit methods added in [ResolvedVisitor]. |
| 8 // TODO(johnniwinther): Remove this. | 38 // TODO(johnniwinther): Remove this. |
| 9 enum ResolvedKind { | 39 enum ResolvedKind { |
| 10 ASSERT, | 40 ASSERT, |
| 11 TYPE_LITERAL, | 41 TYPE_LITERAL, |
| 12 SUPER, | 42 SUPER, |
| 13 OPERATOR, | 43 OPERATOR, |
| 14 TYPE_PREFIX, | 44 TYPE_PREFIX, |
| 15 GETTER, | 45 GETTER, |
| (...skipping 803 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 819 @override | 849 @override |
| 820 R visitLocalFunctionIncompatibleInvoke( | 850 R visitLocalFunctionIncompatibleInvoke( |
| 821 Send node, | 851 Send node, |
| 822 LocalFunctionElement function, | 852 LocalFunctionElement function, |
| 823 NodeList arguments, | 853 NodeList arguments, |
| 824 CallStructure callStructure, | 854 CallStructure callStructure, |
| 825 ResolvedKindVisitor<R> visitor) { | 855 ResolvedKindVisitor<R> visitor) { |
| 826 return visitor.visitClosureSend(node); | 856 return visitor.visitClosureSend(node); |
| 827 } | 857 } |
| 828 } | 858 } |
| OLD | NEW |