| 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 '../common.dart'; | 7 import '../common.dart'; |
| 8 import '../constants/expressions.dart'; | 8 import '../constants/expressions.dart'; |
| 9 import '../dart_types.dart'; | 9 import '../dart_types.dart'; |
| 10 import '../tree/tree.dart'; | 10 import '../tree/tree.dart'; |
| (...skipping 4318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4329 /// m10() => unresolved?.foo = 42; | 4329 /// m10() => unresolved?.foo = 42; |
| 4330 /// m11() => unresolved?.Foo?.bar = 42; | 4330 /// m11() => unresolved?.Foo?.bar = 42; |
| 4331 /// | 4331 /// |
| 4332 // TODO(johnniwinther): Split the cases in which a prefix is resolved. | 4332 // TODO(johnniwinther): Split the cases in which a prefix is resolved. |
| 4333 R visitUnresolvedSet( | 4333 R visitUnresolvedSet( |
| 4334 Send node, | 4334 Send node, |
| 4335 Element element, | 4335 Element element, |
| 4336 Node rhs, | 4336 Node rhs, |
| 4337 A arg); | 4337 A arg); |
| 4338 | 4338 |
| 4339 /// Assignment of [rhs] to the unresolved super [element]. |
| 4340 /// |
| 4341 /// For instance: |
| 4342 /// |
| 4343 /// class B {} |
| 4344 /// class C { |
| 4345 /// m() => super.foo = 42; |
| 4346 /// } |
| 4347 /// |
| 4348 R visitUnresolvedSuperSet( |
| 4349 Send node, |
| 4350 Element element, |
| 4351 Node rhs, |
| 4352 A arg); |
| 4353 |
| 4339 /// Invocation of the unresolved [element] with [arguments]. | 4354 /// Invocation of the unresolved [element] with [arguments]. |
| 4340 /// | 4355 /// |
| 4341 /// For instance: | 4356 /// For instance: |
| 4342 /// | 4357 /// |
| 4343 /// class C {} | 4358 /// class C {} |
| 4344 /// m1() => unresolved(null, 42); | 4359 /// m1() => unresolved(null, 42); |
| 4345 /// m2() => prefix.unresolved(null, 42); | 4360 /// m2() => prefix.unresolved(null, 42); |
| 4346 /// m3() => Unresolved.foo(null, 42); | 4361 /// m3() => Unresolved.foo(null, 42); |
| 4347 /// m4() => unresolved.foo(null, 42); | 4362 /// m4() => unresolved.foo(null, 42); |
| 4348 /// m5() => unresolved.Foo.bar(null, 42); | 4363 /// m5() => unresolved.Foo.bar(null, 42); |
| (...skipping 1472 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5821 /// C() : this._(42); | 5836 /// C() : this._(42); |
| 5822 /// } | 5837 /// } |
| 5823 /// | 5838 /// |
| 5824 R errorUnresolvedThisConstructorInvoke( | 5839 R errorUnresolvedThisConstructorInvoke( |
| 5825 Send node, | 5840 Send node, |
| 5826 Element element, | 5841 Element element, |
| 5827 NodeList arguments, | 5842 NodeList arguments, |
| 5828 Selector selector, | 5843 Selector selector, |
| 5829 A arg); | 5844 A arg); |
| 5830 } | 5845 } |
| OLD | NEW |