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

Unified Diff: pkg/analyzer/lib/dart/analysis/results.dart

Issue 2918343002: Move LocalDeclarationVisitor for use by contributors that will be moved to analyzer_plugin (Closed)
Patch Set: fix test Created 3 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/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;
« no previous file with comments | « pkg/analysis_server/test/services/completion/dart/test_all.dart ('k') | pkg/analyzer/lib/src/dart/analysis/driver.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698