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

Unified Diff: pkg/analyzer/lib/src/summary/idl.dart

Issue 1787803003: Improve used name relations and fields indexing. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 9 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
Index: pkg/analyzer/lib/src/summary/idl.dart
diff --git a/pkg/analyzer/lib/src/summary/idl.dart b/pkg/analyzer/lib/src/summary/idl.dart
index 0df5ab32b291e463acbf495020251c99478345fb..edac295559cb5e03ccc46061007803ba45a49274 100644
--- a/pkg/analyzer/lib/src/summary/idl.dart
+++ b/pkg/analyzer/lib/src/summary/idl.dart
@@ -224,7 +224,28 @@ enum IndexRelationKind {
* Is referenced (and not invoked, read/written) at.
* Right: location.
*/
- IS_REFERENCED_BY
+ IS_REFERENCED_BY,
+
+ /**
+ * Left: unresolved member name.
+ * Is read at.
+ * Right: location.
+ */
+ IS_READ_BY,
+
+ /**
+ * Left: unresolved member name.
+ * Is both read and written at.
+ * Right: location.
+ */
+ IS_READ_WRITTEN_BY,
+
+ /**
+ * Left: unresolved member name.
+ * Is written at.
+ * Right: location.
+ */
+ IS_WRITTEN_BY
}
/**

Powered by Google App Engine
This is Rietveld 408576698