Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(266)

Side by Side Diff: pkg/analyzer/lib/src/summary/idl.dart

Issue 2541603002: Support for AwaitExpression in unlinked expressions. (Closed)
Patch Set: Use DartType.flattenFutures() Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « pkg/analyzer/lib/src/summary/format.fbs ('k') | pkg/analyzer/lib/src/summary/link.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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. Treat it as a Future and await its
2347 * completion. Then push the awaited value onto the stack.
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
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 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/summary/format.fbs ('k') | pkg/analyzer/lib/src/summary/link.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698