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