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

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

Issue 2483343002: Add patch file support to the analyzer task model. (Closed)
Patch Set: Created 4 years, 1 month 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 | « pkg/analyzer/lib/src/context/context.dart ('k') | pkg/analyzer/lib/src/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/generated/engine.dart
diff --git a/pkg/analyzer/lib/src/generated/engine.dart b/pkg/analyzer/lib/src/generated/engine.dart
index fedd2e45d9fff50c3e9bbf99d0ce42ea14dc9206..d2f367b4948d17d9a710f47e399b48b12b4d9354 100644
--- a/pkg/analyzer/lib/src/generated/engine.dart
+++ b/pkg/analyzer/lib/src/generated/engine.dart
@@ -1191,6 +1191,12 @@ abstract class AnalysisOptions {
bool get lint;
/**
+ * Return the "platform" bit mask which should be used to apply patch files,
+ * or `0` if no patch files should be applied.
+ */
+ int get patchPlatform;
+
+ /**
* Return `true` if analysis is to parse comments.
*/
bool get preserveComments;
@@ -1308,6 +1314,9 @@ class AnalysisOptionsImpl implements AnalysisOptions {
bool lint = false;
@override
+ int patchPlatform = 0;
+
+ @override
bool preserveComments = true;
@override
@@ -1395,6 +1404,7 @@ class AnalysisOptionsImpl implements AnalysisOptions {
trackCacheDependencies = options.trackCacheDependencies;
disableCacheFlushing = options.disableCacheFlushing;
finerGrainedInvalidation = options.finerGrainedInvalidation;
+ patchPlatform = options.patchPlatform;
}
bool get analyzeFunctionBodies {
« no previous file with comments | « pkg/analyzer/lib/src/context/context.dart ('k') | pkg/analyzer/lib/src/task/dart.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698