| 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 362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 373 constant: constant.getText(), arguments: arguments)); | 373 constant: constant.getText(), arguments: arguments)); |
| 374 } | 374 } |
| 375 | 375 |
| 376 @override | 376 @override |
| 377 visitDynamicTypeLiteralSet( | 377 visitDynamicTypeLiteralSet( |
| 378 Send node, | 378 Send node, |
| 379 ConstantExpression constant, | 379 ConstantExpression constant, |
| 380 Node rhs, | 380 Node rhs, |
| 381 arg) { | 381 arg) { |
| 382 visits.add(new Visit(VisitKind.VISIT_DYNAMIC_TYPE_LITERAL_SET, | 382 visits.add(new Visit(VisitKind.VISIT_DYNAMIC_TYPE_LITERAL_SET, |
| 383 rhs: rhs)); | 383 constant: constant.getText(), rhs: rhs)); |
| 384 super.visitDynamicTypeLiteralSet(node, constant, rhs, arg); | 384 super.visitDynamicTypeLiteralSet(node, constant, rhs, arg); |
| 385 } | 385 } |
| 386 | 386 |
| 387 @override | 387 @override |
| 388 visitExpressionInvoke( | 388 visitExpressionInvoke( |
| 389 Send node, | 389 Send node, |
| 390 Node expression, | 390 Node expression, |
| 391 NodeList arguments, | 391 NodeList arguments, |
| 392 Selector selector, | 392 Selector selector, |
| 393 arg) { | 393 arg) { |
| (...skipping 2720 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3114 } | 3114 } |
| 3115 | 3115 |
| 3116 @override | 3116 @override |
| 3117 previsitDeferredAccess( | 3117 previsitDeferredAccess( |
| 3118 Send node, | 3118 Send node, |
| 3119 PrefixElement prefix, | 3119 PrefixElement prefix, |
| 3120 arg) { | 3120 arg) { |
| 3121 visits.add(new Visit(VisitKind.PREVISIT_DEFERRED_ACCESS, element: prefix)); | 3121 visits.add(new Visit(VisitKind.PREVISIT_DEFERRED_ACCESS, element: prefix)); |
| 3122 } | 3122 } |
| 3123 } | 3123 } |
| OLD | NEW |