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

Side by Side Diff: pkg/analyzer/tool/summary/idl.dart

Issue 1559963002: Use List<String> for combinators in summaries. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 11 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 is not 6 * This file is an "idl" style description of the summary format. It is not
7 * executed directly; instead it is parsed and transformed into code that 7 * executed directly; instead it is parsed and transformed into code that
8 * implements the summary format. 8 * implements the summary format.
9 * 9 *
10 * The code generation process introduces the following non-typical semantics: 10 * The code generation process introduces the following non-typical semantics:
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 } 259 }
260 260
261 /** 261 /**
262 * Unlinked summary information about a `show` or `hide` combinator in an 262 * Unlinked summary information about a `show` or `hide` combinator in an
263 * import or export declaration. 263 * import or export declaration.
264 */ 264 */
265 class UnlinkedCombinator { 265 class UnlinkedCombinator {
266 /** 266 /**
267 * List of names which are shown. Empty if this is a `hide` combinator. 267 * List of names which are shown. Empty if this is a `hide` combinator.
268 */ 268 */
269 List<UnlinkedCombinatorName> shows; 269 List<String> shows;
270 270
271 /** 271 /**
272 * List of names which are hidden. Empty if this is a `show` combinator. 272 * List of names which are hidden. Empty if this is a `show` combinator.
273 */ 273 */
274 List<UnlinkedCombinatorName> hides; 274 List<String> hides;
275 } 275 }
276 276
277 /** 277 /**
278 * Unlinked summary information about a single name in a `show` or `hide`
279 * combinator.
280 */
281 class UnlinkedCombinatorName {
282 /**
283 * The name itself.
284 */
285 String name;
286 }
287
288 /**
289 * Unlinked summary information about an enum declaration. 278 * Unlinked summary information about an enum declaration.
290 */ 279 */
291 class UnlinkedEnum { 280 class UnlinkedEnum {
292 /** 281 /**
293 * Name of the enum type. 282 * Name of the enum type.
294 */ 283 */
295 String name; 284 String name;
296 285
297 /** 286 /**
298 * Values listed in the enum declaration, in declaration order. 287 * Values listed in the enum declaration, in declaration order.
(...skipping 484 matching lines...) Expand 10 before | Expand all | Expand 10 after
783 /** 772 /**
784 * Indicates whether the variable is declared using the `const` keyword. 773 * Indicates whether the variable is declared using the `const` keyword.
785 */ 774 */
786 bool isConst; 775 bool isConst;
787 776
788 /** 777 /**
789 * Indicates whether this variable lacks an explicit type declaration. 778 * Indicates whether this variable lacks an explicit type declaration.
790 */ 779 */
791 bool hasImplicitType; 780 bool hasImplicitType;
792 } 781 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698