OLD | NEW |
1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2017, 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 /*main:[null]*/ | 5 /*element: main:[null]*/ |
6 main() { | 6 main() { |
7 asyncMethod(); | 7 asyncMethod(); |
8 asyncStarMethod(); | 8 asyncStarMethod(); |
9 syncStarMethod(); | 9 syncStarMethod(); |
10 } | 10 } |
11 | 11 |
12 /*asyncMethod:[exact=_Future]*/ | 12 /*element: asyncMethod:[exact=_Future]*/ |
13 asyncMethod() async {} | 13 asyncMethod() async {} |
14 | 14 |
15 /*asyncStarMethod:[exact=_ControllerStream]*/ | 15 /*element: asyncStarMethod:[exact=_ControllerStream]*/ |
16 asyncStarMethod() async* {} | 16 asyncStarMethod() async* {} |
17 | 17 |
18 /*syncStarMethod:[exact=_SyncStarIterable]*/ | 18 /*element: syncStarMethod:[exact=_SyncStarIterable]*/ |
19 syncStarMethod() sync* {} | 19 syncStarMethod() sync* {} |
OLD | NEW |