OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 library inferrer_visitor; | 5 library inferrer_visitor; |
6 | 6 |
7 import '../dart2jslib.dart' hide Selector, TypedSelector; | 7 import '../dart2jslib.dart' hide Selector, TypedSelector; |
8 import '../dart_types.dart'; | 8 import '../dart_types.dart'; |
9 import '../elements/elements.dart'; | 9 import '../elements/elements.dart'; |
10 import '../tree/tree.dart'; | 10 import '../tree/tree.dart'; |
(...skipping 1257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1268 return type; | 1268 return type; |
1269 } | 1269 } |
1270 | 1270 |
1271 T visitCascade(Cascade node) { | 1271 T visitCascade(Cascade node) { |
1272 // Ignore the result of the cascade send and return the type of the cascade | 1272 // Ignore the result of the cascade send and return the type of the cascade |
1273 // receiver. | 1273 // receiver. |
1274 visit(node.expression); | 1274 visit(node.expression); |
1275 return cascadeReceiverStack.removeLast(); | 1275 return cascadeReceiverStack.removeLast(); |
1276 } | 1276 } |
1277 } | 1277 } |
OLD | NEW |