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 part of dart2js.semantics_visitor_test; | 5 part of dart2js.semantics_visitor_test; |
6 | 6 |
7 class SemanticSendTestVisitor extends SemanticTestVisitor { | 7 class SemanticSendTestVisitor extends SemanticTestVisitor { |
8 | 8 |
9 SemanticSendTestVisitor(TreeElements elements) : super(elements); | 9 SemanticSendTestVisitor(TreeElements elements) : super(elements); |
10 | 10 |
(...skipping 2922 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2933 visitConstantInvoke( | 2933 visitConstantInvoke( |
2934 Send node, | 2934 Send node, |
2935 ConstantExpression constant, | 2935 ConstantExpression constant, |
2936 NodeList arguments, | 2936 NodeList arguments, |
2937 CallStructure callStructure, | 2937 CallStructure callStructure, |
2938 arg) { | 2938 arg) { |
2939 visits.add(new Visit(VisitKind.VISIT_CONSTANT_INVOKE, | 2939 visits.add(new Visit(VisitKind.VISIT_CONSTANT_INVOKE, |
2940 constant: constant.getText())); | 2940 constant: constant.getText())); |
2941 super.visitConstantInvoke(node, constant, arguments, callStructure, arg); | 2941 super.visitConstantInvoke(node, constant, arguments, callStructure, arg); |
2942 } | 2942 } |
| 2943 |
| 2944 @override |
| 2945 previsitDeferredAccess( |
| 2946 Send node, |
| 2947 PrefixElement prefix, |
| 2948 arg) { |
| 2949 visits.add(new Visit(VisitKind.PREVISIT_DEFERRED_ACCESS, element: prefix)); |
| 2950 } |
2943 } | 2951 } |
OLD | NEW |