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

Unified Diff: pkg/analyzer/lib/src/dart/analysis/top_level_declaration.dart

Issue 2554113003: Implement 'Import Library' Quick Fix for project libraries using TopLevelDeclarationInSource. (Closed)
Patch Set: Created 4 years 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
Index: pkg/analyzer/lib/src/dart/analysis/top_level_declaration.dart
diff --git a/pkg/analyzer/lib/src/dart/analysis/top_level_declaration.dart b/pkg/analyzer/lib/src/dart/analysis/top_level_declaration.dart
index 20f5fc18cae39d0a199500226d94f76f9a29a55f..8f1d6403cc6be865e0e0d9531ca02f4ac65302d1 100644
--- a/pkg/analyzer/lib/src/dart/analysis/top_level_declaration.dart
+++ b/pkg/analyzer/lib/src/dart/analysis/top_level_declaration.dart
@@ -31,10 +31,15 @@ class TopLevelDeclarationInSource {
*/
final TopLevelDeclaration declaration;
- TopLevelDeclarationInSource(this.source, this.declaration);
+ /**
+ * Is `true` if the [declaration] is exported, not declared in the [source].
+ */
+ final bool isExported;
+
+ TopLevelDeclarationInSource(this.source, this.declaration, this.isExported);
@override
- String toString() => '($source, $declaration)';
+ String toString() => '($source, $declaration, $isExported)';
}
/**
« no previous file with comments | « pkg/analyzer/lib/src/dart/analysis/driver.dart ('k') | pkg/analyzer/test/src/dart/analysis/driver_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698