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 1966783003: First steps toward AST-based type inference involving closures. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 7 months 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 1435 matching lines...) Expand 10 before | Expand all | Expand 10 after
1446 * Pop the top value from the stack and check whether it is a subclass of the 1446 * Pop the top value from the stack and check whether it is a subclass of the
1447 * type with reference from [UnlinkedConst.references], push the result into 1447 * type with reference from [UnlinkedConst.references], push the result into
1448 * the stack. 1448 * the stack.
1449 */ 1449 */
1450 typeCheck, 1450 typeCheck,
1451 1451
1452 /** 1452 /**
1453 * Pop the top value from the stack and raise an exception with this value. 1453 * Pop the top value from the stack and raise an exception with this value.
1454 */ 1454 */
1455 throwException, 1455 throwException,
1456
1457 /**
1458 * Obtain two values `n` and `m` from [UnlinkedConst.ints]. Then, starting at
1459 * the executable element for the expression being evaluated, if n > 0, pop to
1460 * the nth enclosing function element. Then, push the mth local function of
1461 * that element onto the stack.
1462 */
1463 pushLocalFunctionReference,
1456 } 1464 }
1457 1465
1458 /** 1466 /**
1459 * Unlinked summary information about a constructor initializer. 1467 * Unlinked summary information about a constructor initializer.
1460 */ 1468 */
1461 abstract class UnlinkedConstructorInitializer extends base.SummaryClass { 1469 abstract class UnlinkedConstructorInitializer extends base.SummaryClass {
1462 /** 1470 /**
1463 * If [kind] is `thisInvocation` or `superInvocation`, the arguments of the 1471 * If [kind] is `thisInvocation` or `superInvocation`, the arguments of the
1464 * invocation. Otherwise empty. 1472 * invocation. Otherwise empty.
1465 */ 1473 */
(...skipping 1238 matching lines...) Expand 10 before | Expand all | Expand 10 after
2704 */ 2712 */
2705 @Id(11) 2713 @Id(11)
2706 int get visibleLength; 2714 int get visibleLength;
2707 2715
2708 /** 2716 /**
2709 * If a local variable, the beginning of the visible range; zero otherwise. 2717 * If a local variable, the beginning of the visible range; zero otherwise.
2710 */ 2718 */
2711 @Id(12) 2719 @Id(12)
2712 int get visibleOffset; 2720 int get visibleOffset;
2713 } 2721 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698