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

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

Issue 2670843004: Record defined top-level/class-mebber names with unlinked bundles. (Closed)
Patch Set: Created 3 years, 10 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 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 307
308 /** 308 /**
309 * Information about an unlinked unit. 309 * Information about an unlinked unit.
310 */ 310 */
311 @TopLevel('ADUU') 311 @TopLevel('ADUU')
312 abstract class AnalysisDriverUnlinkedUnit extends base.SummaryClass { 312 abstract class AnalysisDriverUnlinkedUnit extends base.SummaryClass {
313 factory AnalysisDriverUnlinkedUnit.fromBuffer(List<int> buffer) => 313 factory AnalysisDriverUnlinkedUnit.fromBuffer(List<int> buffer) =>
314 generated.readAnalysisDriverUnlinkedUnit(buffer); 314 generated.readAnalysisDriverUnlinkedUnit(buffer);
315 315
316 /** 316 /**
317 * List of class member names defined by the unit.
318 */
319 @Id(3)
320 List<String> get definedClassMemberNames;
321
322 /**
323 * List of top-level names defined by the unit.
324 */
325 @Id(2)
326 List<String> get definedTopLevelNames;
327
328 /**
317 * List of external names referenced by the unit. 329 * List of external names referenced by the unit.
318 */ 330 */
319 @Id(0) 331 @Id(0)
320 List<String> get referencedNames; 332 List<String> get referencedNames;
321 333
322 /** 334 /**
323 * Unlinked information for the unit. 335 * Unlinked information for the unit.
324 */ 336 */
325 @Id(1) 337 @Id(1)
326 UnlinkedUnit get unit; 338 UnlinkedUnit get unit;
(...skipping 2859 matching lines...) Expand 10 before | Expand all | Expand 10 after
3186 @Id(11) 3198 @Id(11)
3187 int get visibleLength; 3199 int get visibleLength;
3188 3200
3189 /** 3201 /**
3190 * If a local variable, the beginning of the visible range; zero otherwise. 3202 * If a local variable, the beginning of the visible range; zero otherwise.
3191 */ 3203 */
3192 @informative 3204 @informative
3193 @Id(12) 3205 @Id(12)
3194 int get visibleOffset; 3206 int get visibleOffset;
3195 } 3207 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/summary/format.fbs ('k') | pkg/analyzer/test/src/dart/analysis/defined_names_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698