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

Unified Diff: pkg/analyzer/tool/summary/idl_model.dart

Issue 1738833004: Add file identifiers to summaries. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/analyzer/tool/summary/generate.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/tool/summary/idl_model.dart
diff --git a/pkg/analyzer/tool/summary/idl_model.dart b/pkg/analyzer/tool/summary/idl_model.dart
index fca10548665833e658191f242a4e36b96aa60bef..a583d647a26fcdb0372c92cfcbba9152a60b2d6d 100644
--- a/pkg/analyzer/tool/summary/idl_model.dart
+++ b/pkg/analyzer/tool/summary/idl_model.dart
@@ -23,7 +23,14 @@ class ClassDeclaration extends Declaration {
*/
final bool isTopLevel;
- ClassDeclaration(String documentation, String name, this.isTopLevel)
+ /**
+ * If [isTopLevel] is `true` and a file identifier was specified for this
+ * class, the file identifier string. Otheswise `null`.
+ */
+ final String fileIdentifier;
+
+ ClassDeclaration(
+ String documentation, String name, this.isTopLevel, this.fileIdentifier)
: super(documentation, name);
}
« no previous file with comments | « pkg/analyzer/tool/summary/generate.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698