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

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

Issue 2013093002: Summarize references to closure parameters properly. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 6 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 1106 matching lines...) Expand 10 before | Expand all | Expand 10 after
1117 * and push it onto the stack. 1117 * and push it onto the stack.
1118 */ 1118 */
1119 makeSymbol, 1119 makeSymbol,
1120 1120
1121 /** 1121 /**
1122 * Push the constant `null` onto the stack. 1122 * Push the constant `null` onto the stack.
1123 */ 1123 */
1124 pushNull, 1124 pushNull,
1125 1125
1126 /** 1126 /**
1127 * Push the value of the constant constructor parameter with 1127 * Push the value of the function parameter with the name obtained from
1128 * the name obtained from [UnlinkedConst.strings]. 1128 * [UnlinkedConst.strings].
1129 */ 1129 */
1130 pushConstructorParameter, 1130 pushParameter,
1131 1131
1132 /** 1132 /**
1133 * Evaluate a (potentially qualified) identifier expression and push the 1133 * Evaluate a (potentially qualified) identifier expression and push the
1134 * resulting value onto the stack. The identifier to be evaluated is 1134 * resulting value onto the stack. The identifier to be evaluated is
1135 * obtained from [UnlinkedConst.references]. 1135 * obtained from [UnlinkedConst.references].
1136 * 1136 *
1137 * This operation is used to represent the following kinds of constants 1137 * This operation is used to represent the following kinds of constants
1138 * (which are indistinguishable from an unresolved AST alone): 1138 * (which are indistinguishable from an unresolved AST alone):
1139 * 1139 *
1140 * - A qualified reference to a static constant variable (e.g. `C.v`, where 1140 * - A qualified reference to a static constant variable (e.g. `C.v`, where
(...skipping 1565 matching lines...) Expand 10 before | Expand all | Expand 10 after
2706 */ 2706 */
2707 @Id(11) 2707 @Id(11)
2708 int get visibleLength; 2708 int get visibleLength;
2709 2709
2710 /** 2710 /**
2711 * If a local variable, the beginning of the visible range; zero otherwise. 2711 * If a local variable, the beginning of the visible range; zero otherwise.
2712 */ 2712 */
2713 @Id(12) 2713 @Id(12)
2714 int get visibleOffset; 2714 int get visibleOffset;
2715 } 2715 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698