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

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

Issue 2536303002: Exclude files from analysis when using AnalysisDriver (Closed)
Patch Set: clean-up 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/analysis_server/lib/src/context_manager.dart ('k') | pkg/analyzer/test/generated/engine_test.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 fa314ee432dcf6b814966911e869d87ed93e20ee..386053315d12f47db5115f65f0f69e80b5917418 100644
--- a/pkg/analyzer/lib/src/generated/engine.dart
+++ b/pkg/analyzer/lib/src/generated/engine.dart
@@ -1260,6 +1260,11 @@ abstract class AnalysisOptions {
List<int> encodeCrossContextOptions();
/**
+ * Reset the state of this set of analysis options to its original state.
+ */
+ void resetToDefaults();
+
+ /**
* Set the values of the cross-context options to match those in the given set
* of [options].
*/
@@ -1583,6 +1588,38 @@ class AnalysisOptionsImpl implements AnalysisOptions {
}
@override
+ void resetToDefaults() {
+ dart2jsHint = false;
+ disableCacheFlushing = false;
+ enableAssertInitializer = false;
+ enableAssertMessage = false;
+ enableLazyAssignmentOperators = false;
+ enableStrictCallChecks = false;
+ enableSuperMixins = false;
+ enableTiming = false;
+ enableUriInPartOf = false;
+ _errorProcessors = null;
+ _excludePatterns = null;
+ finerGrainedInvalidation = false;
+ generateImplicitErrors = true;
+ generateSdkErrors = false;
+ hint = true;
+ implicitCasts = true;
+ implicitDynamic = true;
+ incremental = false;
+ incrementalApi = false;
+ incrementalValidation = false;
+ lint = false;
+ _lintRules = null;
+ nonnullableTypes = NONNULLABLE_TYPES;
+ patchPlatform = 0;
+ preserveComments = true;
+ strongMode = false;
+ strongModeHints = false;
+ trackCacheDependencies = true;
+ }
+
+ @override
void setCrossContextOptionsFrom(AnalysisOptions options) {
enableAssertMessage = options.enableAssertMessage;
enableLazyAssignmentOperators = options.enableLazyAssignmentOperators;
« no previous file with comments | « pkg/analysis_server/lib/src/context_manager.dart ('k') | pkg/analyzer/test/generated/engine_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698