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

Unified Diff: pkg/analyzer/lib/src/generated/engine.dart

Issue 2913493002: Add the analysis options path to the diagnostics page. (Closed)
Patch Set: Created 3 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
Index: pkg/analyzer/lib/src/generated/engine.dart
diff --git a/pkg/analyzer/lib/src/generated/engine.dart b/pkg/analyzer/lib/src/generated/engine.dart
index f2f984f3b32b916b0d5a42dadf8c4b41bd600584..4795077dd9ca49e37a3619828b0b2a1277ac782d 100644
--- a/pkg/analyzer/lib/src/generated/engine.dart
+++ b/pkg/analyzer/lib/src/generated/engine.dart
@@ -1290,6 +1290,11 @@ abstract class AnalysisOptions {
List<Linter> get lintRules;
/**
+ * An informative value for the file path the analysis options were read from.
+ */
+ String get optionsFilePath;
+
+ /**
* A mapping from Dart SDK library name (e.g. "dart:core") to a list of paths
* to patch files that should be applied to the library.
*/
@@ -1443,6 +1448,9 @@ class AnalysisOptionsImpl implements AnalysisOptions {
*/
List<Linter> _lintRules;
+ @override
+ String optionsFilePath;
+
Map<String, List<String>> patchPaths = {};
@override
@@ -1530,6 +1538,7 @@ class AnalysisOptionsImpl implements AnalysisOptions {
trackCacheDependencies = options.trackCacheDependencies;
disableCacheFlushing = options.disableCacheFlushing;
patchPaths = options.patchPaths;
+ optionsFilePath = options.optionsFilePath;
}
bool get analyzeFunctionBodies {

Powered by Google App Engine
This is Rietveld 408576698