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

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

Issue 1954203002: Keep all type arguments in summaries - dynamic or not. (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 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 * If this [EntityRef] is a reference to a function type whose 195 * If this [EntityRef] is a reference to a function type whose
196 * [FunctionElement] is not in any library (e.g. a function type that was 196 * [FunctionElement] is not in any library (e.g. a function type that was
197 * synthesized by a LUB computation), the return type of the function. 197 * synthesized by a LUB computation), the return type of the function.
198 * Otherwise `null`. 198 * Otherwise `null`.
199 */ 199 */
200 @Id(5) 200 @Id(5)
201 EntityRef get syntheticReturnType; 201 EntityRef get syntheticReturnType;
202 202
203 /** 203 /**
204 * If this is an instantiation of a generic type or generic executable, the 204 * If this is an instantiation of a generic type or generic executable, the
205 * type arguments used to instantiate it. Trailing type arguments of type 205 * type arguments used to instantiate it. If AST is used to create the
Paul Berry 2016/05/06 18:11:38 IMO, the documentation in this file should specify
scheglov 2016/05/06 19:12:36 Done.
206 * `dynamic` are omitted. 206 * summary, and the AST does not specify any type arguments, this list is
207 * empty. If element model is used, this list is not empty.
207 */ 208 */
208 @Id(1) 209 @Id(1)
209 List<EntityRef> get typeArguments; 210 List<EntityRef> get typeArguments;
210 } 211 }
211 212
212 /** 213 /**
213 * Enum used to indicate the kind of a name in index. 214 * Enum used to indicate the kind of a name in index.
214 */ 215 */
215 enum IndexNameKind { 216 enum IndexNameKind {
216 /** 217 /**
(...skipping 2486 matching lines...) Expand 10 before | Expand all | Expand 10 after
2703 */ 2704 */
2704 @Id(11) 2705 @Id(11)
2705 int get visibleLength; 2706 int get visibleLength;
2706 2707
2707 /** 2708 /**
2708 * If a local variable, the beginning of the visible range; zero otherwise. 2709 * If a local variable, the beginning of the visible range; zero otherwise.
2709 */ 2710 */
2710 @Id(12) 2711 @Id(12)
2711 int get visibleOffset; 2712 int get visibleOffset;
2712 } 2713 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698