Index: pkg/analyzer/lib/dart/analysis/results.dart |
diff --git a/pkg/analyzer/lib/dart/analysis/results.dart b/pkg/analyzer/lib/dart/analysis/results.dart |
index d0e7296acadc58990f113421d3d497bf97f2f9a0..8954f4f5d1e1cdb465e6a6d3220d7b9982edd17c 100644 |
--- a/pkg/analyzer/lib/dart/analysis/results.dart |
+++ b/pkg/analyzer/lib/dart/analysis/results.dart |
@@ -5,6 +5,7 @@ |
import 'package:analyzer/dart/ast/ast.dart'; |
import 'package:analyzer/dart/element/element.dart'; |
import 'package:analyzer/error/error.dart'; |
+import 'package:analyzer/src/generated/resolver.dart'; |
import 'package:analyzer/src/generated/source.dart'; |
/** |
@@ -86,6 +87,16 @@ abstract class ResolveResult implements AnalysisResultWithErrors { |
String get content; |
/** |
+ * The element representing the library containing the compilation [unit]. |
+ */ |
+ LibraryElement get libraryElement; |
+ |
+ /** |
+ * The type provider used when resolving the compilation [unit]. |
+ */ |
+ TypeProvider get typeProvider; |
+ |
+ /** |
* The fully resolved compilation unit for the [content]. |
*/ |
CompilationUnit get unit; |