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 part of dart2js; |
6 | 6 |
7 /// Enum for the visit methods added in [ResolvedVisitor]. | 7 /// Enum for the visit methods added in [ResolvedVisitor]. |
8 // TODO(johnniwinther): Remove this. | 8 // TODO(johnniwinther): Remove this. |
9 enum ResolvedKind { | 9 enum ResolvedKind { |
10 ASSERT, | 10 ASSERT, |
(...skipping 787 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
798 } | 798 } |
799 | 799 |
800 @override | 800 @override |
801 R visitSuperIndex( | 801 R visitSuperIndex( |
802 Send node, | 802 Send node, |
803 FunctionElement function, | 803 FunctionElement function, |
804 Node index, | 804 Node index, |
805 ResolvedKindVisitor<R> visitor) { | 805 ResolvedKindVisitor<R> visitor) { |
806 return visitor.visitSuperSend(node); | 806 return visitor.visitSuperSend(node); |
807 } | 807 } |
| 808 |
| 809 @override |
| 810 R visitLocalFunctionIncompatibleInvoke( |
| 811 Send node, |
| 812 LocalFunctionElement function, |
| 813 NodeList arguments, |
| 814 CallStructure callStructure, |
| 815 ResolvedKindVisitor<R> visitor) { |
| 816 return visitor.visitClosureSend(node); |
| 817 } |
808 } | 818 } |
OLD | NEW |