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

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

Issue 1181603004: Add AnalysisContext.onResultComputed(). (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 6 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/task/dart.dart
diff --git a/pkg/analyzer/lib/task/dart.dart b/pkg/analyzer/lib/task/dart.dart
index a0e309e4ffc4de5c9ef6dcf2e7973cfc0e154482..e8c6353b8b51c6b026a6a0afbdce872e3689d9e1 100644
--- a/pkg/analyzer/lib/task/dart.dart
+++ b/pkg/analyzer/lib/task/dart.dart
@@ -114,6 +114,16 @@ final ResultDescriptor<CompilationUnit> RESOLVED_UNIT =
cachingPolicy: AST_CACHING_POLICY);
/**
+ * The resolved [CompilationUnit] associated with a compilation unit, with
+ * constants not yet resolved.
+ *
+ * The result is only available for [LibrarySpecificUnit]s.
+ */
+final ResultDescriptor<CompilationUnit> RESOLVED_UNIT_NO_CONSTANTS =
+ new ResultDescriptor<CompilationUnit>('RESOLVED_UNIT_NO_CONSTANTS', null,
+ cachingPolicy: AST_CACHING_POLICY);
+
+/**
* The kind of a [Source].
*/
final ResultDescriptor<SourceKind> SOURCE_KIND =

Powered by Google App Engine
This is Rietveld 408576698