| 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 3874 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3885 return null; | 3885 return null; |
| 3886 } | 3886 } |
| 3887 | 3887 |
| 3888 @override | 3888 @override |
| 3889 R visitDynamicPropertySet( | 3889 R visitDynamicPropertySet( |
| 3890 SendSet node, | 3890 SendSet node, |
| 3891 Node receiver, | 3891 Node receiver, |
| 3892 Selector selector, | 3892 Selector selector, |
| 3893 Node rhs, | 3893 Node rhs, |
| 3894 A arg) { | 3894 A arg) { |
| 3895 apply(receiver, arg); |
| 3895 apply(rhs, arg); | 3896 apply(rhs, arg); |
| 3896 return null; | 3897 return null; |
| 3897 } | 3898 } |
| 3898 | 3899 |
| 3899 @override | 3900 @override |
| 3900 R visitDynamicTypeLiteralCompound( | 3901 R visitDynamicTypeLiteralCompound( |
| 3901 Send node, | 3902 Send node, |
| 3902 ConstantExpression constant, | 3903 ConstantExpression constant, |
| 3903 AssignmentOperator operator, | 3904 AssignmentOperator operator, |
| 3904 Node rhs, | 3905 Node rhs, |
| (...skipping 6415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10320 NewExpression node, | 10321 NewExpression node, |
| 10321 ConstructorElement constructor, | 10322 ConstructorElement constructor, |
| 10322 InterfaceType type, | 10323 InterfaceType type, |
| 10323 NodeList arguments, | 10324 NodeList arguments, |
| 10324 CallStructure callStructure, | 10325 CallStructure callStructure, |
| 10325 A arg) { | 10326 A arg) { |
| 10326 return handleConstructorInvoke( | 10327 return handleConstructorInvoke( |
| 10327 node, constructor, type, arguments, callStructure, arg); | 10328 node, constructor, type, arguments, callStructure, arg); |
| 10328 } | 10329 } |
| 10329 } | 10330 } |
| OLD | NEW |