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 /** | 5 /** |
6 * This file is an "idl" style description of the summary format. It | 6 * This file is an "idl" style description of the summary format. It |
7 * contains abstract classes which declare the interface for reading data from | 7 * contains abstract classes which declare the interface for reading data from |
8 * summaries. It is parsed and transformed into code that implements the | 8 * summaries. It is parsed and transformed into code that implements the |
9 * summary format. | 9 * summary format. |
10 * | 10 * |
(...skipping 2323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2334 * that element onto the stack. | 2334 * that element onto the stack. |
2335 */ | 2335 */ |
2336 pushLocalFunctionReference, | 2336 pushLocalFunctionReference, |
2337 | 2337 |
2338 /** | 2338 /** |
2339 * Pop the top two values from the stack. If the first value is non-null, | 2339 * Pop the top two values from the stack. If the first value is non-null, |
2340 * keep it and discard the second. Otherwise, keep the second and discard the | 2340 * keep it and discard the second. Otherwise, keep the second and discard the |
2341 * first. | 2341 * first. |
2342 */ | 2342 */ |
2343 ifNull, | 2343 ifNull, |
2344 | |
2345 /** | |
2346 * Pop the top value from the stack. If the value is `Future<T>`, push `T` | |
2347 * into the stack. Otherwise, push `dynamic`. | |
Paul Berry
2016/11/29 19:15:57
This comment should reflect the behavior of values
scheglov
2016/11/29 19:39:13
Done.
| |
2348 */ | |
2349 await, | |
2344 } | 2350 } |
2345 | 2351 |
2346 /** | 2352 /** |
2347 * Unlinked summary information about an import declaration. | 2353 * Unlinked summary information about an import declaration. |
2348 */ | 2354 */ |
2349 abstract class UnlinkedImport extends base.SummaryClass { | 2355 abstract class UnlinkedImport extends base.SummaryClass { |
2350 /** | 2356 /** |
2351 * Annotations for this import declaration. | 2357 * Annotations for this import declaration. |
2352 */ | 2358 */ |
2353 @Id(8) | 2359 @Id(8) |
(...skipping 711 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
3065 @Id(11) | 3071 @Id(11) |
3066 int get visibleLength; | 3072 int get visibleLength; |
3067 | 3073 |
3068 /** | 3074 /** |
3069 * If a local variable, the beginning of the visible range; zero otherwise. | 3075 * If a local variable, the beginning of the visible range; zero otherwise. |
3070 */ | 3076 */ |
3071 @informative | 3077 @informative |
3072 @Id(12) | 3078 @Id(12) |
3073 int get visibleOffset; | 3079 int get visibleOffset; |
3074 } | 3080 } |
OLD | NEW |