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

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

Issue 2514353005: Add support for "??" to summaries. (Closed)
Patch Set: Created 4 years, 1 month 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
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 2315 matching lines...) Expand 10 before | Expand all | Expand 10 after
2326 */ 2326 */
2327 throwException, 2327 throwException,
2328 2328
2329 /** 2329 /**
2330 * Obtain two values `n` and `m` from [UnlinkedExpr.ints]. Then, starting at 2330 * Obtain two values `n` and `m` from [UnlinkedExpr.ints]. Then, starting at
2331 * the executable element for the expression being evaluated, if n > 0, pop to 2331 * the executable element for the expression being evaluated, if n > 0, pop to
2332 * the nth enclosing function element. Then, push the mth local function of 2332 * the nth enclosing function element. Then, push the mth local function of
2333 * that element onto the stack. 2333 * that element onto the stack.
2334 */ 2334 */
2335 pushLocalFunctionReference, 2335 pushLocalFunctionReference,
2336
2337 /**
2338 * Pop the top two values from the stack. If the first value is non-null,
2339 * keep it and discard the second. Otherwise, keep the second and discard the
2340 * first.
2341 */
2342 ifNull,
2336 } 2343 }
2337 2344
2338 /** 2345 /**
2339 * Unlinked summary information about an import declaration. 2346 * Unlinked summary information about an import declaration.
2340 */ 2347 */
2341 abstract class UnlinkedImport extends base.SummaryClass { 2348 abstract class UnlinkedImport extends base.SummaryClass {
2342 /** 2349 /**
2343 * Annotations for this import declaration. 2350 * Annotations for this import declaration.
2344 */ 2351 */
2345 @Id(8) 2352 @Id(8)
(...skipping 710 matching lines...) Expand 10 before | Expand all | Expand 10 after
3056 @Id(11) 3063 @Id(11)
3057 int get visibleLength; 3064 int get visibleLength;
3058 3065
3059 /** 3066 /**
3060 * If a local variable, the beginning of the visible range; zero otherwise. 3067 * If a local variable, the beginning of the visible range; zero otherwise.
3061 */ 3068 */
3062 @informative 3069 @informative
3063 @Id(12) 3070 @Id(12)
3064 int get visibleOffset; 3071 int get visibleOffset;
3065 } 3072 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698