| 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; | 5 part of dart2js.semantics_visitor; |
| 6 | 6 |
| 7 /// Interface for bulk handling of a [Node] in a semantic visitor. | 7 /// Interface for bulk handling of a [Node] in a semantic visitor. |
| 8 abstract class BulkHandle<R, A> { | 8 abstract class BulkHandle<R, A> { |
| 9 /// Handle [node] either regardless of semantics or to report that [node] is | 9 /// Handle [node] either regardless of semantics or to report that [node] is |
| 10 /// unhandled. [message] contains a message template for the latter case: | 10 /// unhandled. [message] contains a message template for the latter case: |
| (...skipping 4060 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4071 return null; | 4071 return null; |
| 4072 } | 4072 } |
| 4073 | 4073 |
| 4074 @override | 4074 @override |
| 4075 R visitIfNotNullDynamicPropertySet( | 4075 R visitIfNotNullDynamicPropertySet( |
| 4076 SendSet node, | 4076 SendSet node, |
| 4077 Node receiver, | 4077 Node receiver, |
| 4078 Selector selector, | 4078 Selector selector, |
| 4079 Node rhs, | 4079 Node rhs, |
| 4080 A arg) { | 4080 A arg) { |
| 4081 apply(receiver, arg); |
| 4081 apply(rhs, arg); | 4082 apply(rhs, arg); |
| 4082 return null; | 4083 return null; |
| 4083 } | 4084 } |
| 4084 | 4085 |
| 4085 @override | 4086 @override |
| 4086 R visitDynamicTypeLiteralCompound( | 4087 R visitDynamicTypeLiteralCompound( |
| 4087 Send node, | 4088 Send node, |
| 4088 ConstantExpression constant, | 4089 ConstantExpression constant, |
| 4089 AssignmentOperator operator, | 4090 AssignmentOperator operator, |
| 4090 Node rhs, | 4091 Node rhs, |
| (...skipping 6614 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10705 NewExpression node, | 10706 NewExpression node, |
| 10706 ConstructorElement constructor, | 10707 ConstructorElement constructor, |
| 10707 InterfaceType type, | 10708 InterfaceType type, |
| 10708 NodeList arguments, | 10709 NodeList arguments, |
| 10709 CallStructure callStructure, | 10710 CallStructure callStructure, |
| 10710 A arg) { | 10711 A arg) { |
| 10711 return handleConstructorInvoke( | 10712 return handleConstructorInvoke( |
| 10712 node, constructor, type, arguments, callStructure, arg); | 10713 node, constructor, type, arguments, callStructure, arg); |
| 10713 } | 10714 } |
| 10714 } | 10715 } |
| OLD | NEW |