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

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

Issue 2459573005: Add UnlinkedUnit.isPartOf flag. (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 2677 matching lines...) Expand 10 before | Expand all | Expand 10 after
2688 @Id(16) 2688 @Id(16)
2689 String get fallbackModePath; 2689 String get fallbackModePath;
2690 2690
2691 /** 2691 /**
2692 * Import declarations in the compilation unit. 2692 * Import declarations in the compilation unit.
2693 */ 2693 */
2694 @Id(5) 2694 @Id(5)
2695 List<UnlinkedImport> get imports; 2695 List<UnlinkedImport> get imports;
2696 2696
2697 /** 2697 /**
2698 * Indicates whether the unit is a part-of a library.
Paul Berry 2016/10/31 20:20:50 Nit: let's change this doc comment to something li
scheglov 2016/10/31 21:01:57 Done.
2699 */
2700 @Id(18)
2701 bool get isPartOf;
2702
2703 /**
2698 * Annotations for the library declaration, or the empty list if there is no 2704 * Annotations for the library declaration, or the empty list if there is no
2699 * library declaration. 2705 * library declaration.
2700 */ 2706 */
2701 @Id(14) 2707 @Id(14)
2702 List<UnlinkedConst> get libraryAnnotations; 2708 List<UnlinkedConst> get libraryAnnotations;
2703 2709
2704 /** 2710 /**
2705 * Documentation comment for the library, or `null` if there is no 2711 * Documentation comment for the library, or `null` if there is no
2706 * documentation comment. 2712 * documentation comment.
2707 */ 2713 */
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
2874 @Id(11) 2880 @Id(11)
2875 int get visibleLength; 2881 int get visibleLength;
2876 2882
2877 /** 2883 /**
2878 * If a local variable, the beginning of the visible range; zero otherwise. 2884 * If a local variable, the beginning of the visible range; zero otherwise.
2879 */ 2885 */
2880 @informative 2886 @informative
2881 @Id(12) 2887 @Id(12)
2882 int get visibleOffset; 2888 int get visibleOffset;
2883 } 2889 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/summary/format.fbs ('k') | pkg/analyzer/lib/src/summary/summarize_ast.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698