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

Unified Diff: pkg/analyzer/lib/src/task/dart.dart

Issue 1127423005: Move CONSTANT_DEPENDENCIES out of the analyzer public API. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 7 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 | « no previous file | pkg/analyzer/lib/task/dart.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/task/dart.dart
diff --git a/pkg/analyzer/lib/src/task/dart.dart b/pkg/analyzer/lib/src/task/dart.dart
index 3031f8916c348bd0e3c05fd6a91902a0a3a906fc..9a7b213d49e940a2b5c7b6b6e1de601b09967e26 100644
--- a/pkg/analyzer/lib/src/task/dart.dart
+++ b/pkg/analyzer/lib/src/task/dart.dart
@@ -82,6 +82,16 @@ final ResultDescriptor<CompilationUnitElement> COMPILATION_UNIT_ELEMENT =
cachingPolicy: ELEMENT_CACHING_POLICY);
/**
+ * The list of [Element]s which a given constant element depends on.
+ *
+ * The result is only available for targets representing a constant [Element]
+ * (i.e. a constant variable declaration, a constant constructor, or a
+ * parameter element with a default value).
+ */
+final ListResultDescriptor<Element> CONSTANT_DEPENDENCIES =
+ new ListResultDescriptor<Element>('CONSTANT_DEPENDENCIES', <Element>[]);
+
+/**
* An [Element] that has been successfully constant-evaluated.
*
* TODO(paulberry): is ELEMENT_CACHING_POLICY the correct caching policy?
« no previous file with comments | « no previous file | pkg/analyzer/lib/task/dart.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698