| 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 library dart2js.semantics_visitor; | 5 library dart2js.semantics_visitor; |
| 6 | 6 |
| 7 import '../constants/expressions.dart'; | 7 import '../constants/expressions.dart'; |
| 8 import '../dart2jslib.dart' show invariant, MessageKind; | 8 import '../dart2jslib.dart' show invariant, MessageKind; |
| 9 import '../dart_types.dart'; | 9 import '../dart_types.dart'; |
| 10 import '../elements/elements.dart'; | 10 import '../elements/elements.dart'; |
| (...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 280 /// return o(null, 42); | 280 /// return o(null, 42); |
| 281 /// } | 281 /// } |
| 282 /// | 282 /// |
| 283 R visitLocalFunctionInvoke( | 283 R visitLocalFunctionInvoke( |
| 284 Send node, | 284 Send node, |
| 285 LocalFunctionElement function, | 285 LocalFunctionElement function, |
| 286 NodeList arguments, | 286 NodeList arguments, |
| 287 CallStructure callStructure, | 287 CallStructure callStructure, |
| 288 A arg); | 288 A arg); |
| 289 | 289 |
| 290 /// Invocation of the local [function] with incompatible [arguments]. |
| 291 /// |
| 292 /// For instance: |
| 293 /// m() { |
| 294 /// o(a) {} |
| 295 /// return o(null, 42); |
| 296 /// } |
| 297 /// |
| 298 R visitLocalFunctionIncompatibleInvoke( |
| 299 Send node, |
| 300 LocalFunctionElement function, |
| 301 NodeList arguments, |
| 302 CallStructure callStructure, |
| 303 A arg); |
| 304 |
| 290 /// Getter call on [receiver] of the property defined by [selector]. | 305 /// Getter call on [receiver] of the property defined by [selector]. |
| 291 /// | 306 /// |
| 292 /// For instance | 307 /// For instance |
| 293 /// m(receiver) => receiver.foo; | 308 /// m(receiver) => receiver.foo; |
| 294 /// | 309 /// |
| 295 R visitDynamicPropertyGet( | 310 R visitDynamicPropertyGet( |
| 296 Send node, | 311 Send node, |
| 297 Node receiver, | 312 Node receiver, |
| 298 Selector selector, | 313 Selector selector, |
| 299 A arg); | 314 A arg); |
| (...skipping 4305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4605 /// C() : this._(42); | 4620 /// C() : this._(42); |
| 4606 /// } | 4621 /// } |
| 4607 /// | 4622 /// |
| 4608 R errorUnresolvedThisConstructorInvoke( | 4623 R errorUnresolvedThisConstructorInvoke( |
| 4609 Send node, | 4624 Send node, |
| 4610 Element element, | 4625 Element element, |
| 4611 NodeList arguments, | 4626 NodeList arguments, |
| 4612 Selector selector, | 4627 Selector selector, |
| 4613 A arg); | 4628 A arg); |
| 4614 } | 4629 } |
| OLD | NEW |