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

Side by Side Diff: pkg/analyzer/lib/src/generated/engine.dart

Issue 2834773003: Remove the limited invalidation feature. (Closed)
Patch Set: Created 3 years, 8 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library analyzer.src.generated.engine; 5 library analyzer.src.generated.engine;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:collection'; 8 import 'dart:collection';
9 import 'dart:typed_data'; 9 import 'dart:typed_data';
10 10
(...skipping 1226 matching lines...) Expand 10 before | Expand all | Expand 10 after
1237 */ 1237 */
1238 List<ErrorProcessor> get errorProcessors; 1238 List<ErrorProcessor> get errorProcessors;
1239 1239
1240 /** 1240 /**
1241 * Return a list of exclude patterns used to exclude some sources from 1241 * Return a list of exclude patterns used to exclude some sources from
1242 * analysis. 1242 * analysis.
1243 */ 1243 */
1244 List<String> get excludePatterns; 1244 List<String> get excludePatterns;
1245 1245
1246 /** 1246 /**
1247 * A flag indicating whether finer grained dependencies should be used
1248 * instead of just source level dependencies.
1249 *
1250 * This option is experimental and subject to change.
1251 */
1252 bool get finerGrainedInvalidation;
1253
1254 /**
1255 * Return `true` if errors, warnings and hints should be generated for sources 1247 * Return `true` if errors, warnings and hints should be generated for sources
1256 * that are implicitly being analyzed. The default value is `true`. 1248 * that are implicitly being analyzed. The default value is `true`.
1257 */ 1249 */
1258 bool get generateImplicitErrors; 1250 bool get generateImplicitErrors;
1259 1251
1260 /** 1252 /**
1261 * Return `true` if errors, warnings and hints should be generated for sources 1253 * Return `true` if errors, warnings and hints should be generated for sources
1262 * in the SDK. The default value is `false`. 1254 * in the SDK. The default value is `false`.
1263 */ 1255 */
1264 bool get generateSdkErrors; 1256 bool get generateSdkErrors;
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
1480 * This option is experimental and subject to change. 1472 * This option is experimental and subject to change.
1481 */ 1473 */
1482 bool implicitCasts = true; 1474 bool implicitCasts = true;
1483 1475
1484 /** 1476 /**
1485 * A list of non-nullable type names, prefixed by the library URI they belong 1477 * A list of non-nullable type names, prefixed by the library URI they belong
1486 * to, e.g., 'dart:core,int', 'dart:core,bool', 'file:///foo.dart,bar', etc. 1478 * to, e.g., 'dart:core,int', 'dart:core,bool', 'file:///foo.dart,bar', etc.
1487 */ 1479 */
1488 List<String> nonnullableTypes = NONNULLABLE_TYPES; 1480 List<String> nonnullableTypes = NONNULLABLE_TYPES;
1489 1481
1490 @override
1491 bool finerGrainedInvalidation = false;
1492
1493 /** 1482 /**
1494 * A flag indicating whether implicit dynamic type is allowed, on by default. 1483 * A flag indicating whether implicit dynamic type is allowed, on by default.
1495 * 1484 *
1496 * This flag can be used without necessarily enabling [strongMode], but it is 1485 * This flag can be used without necessarily enabling [strongMode], but it is
1497 * designed with strong mode's type inference in mind. Without type inference, 1486 * designed with strong mode's type inference in mind. Without type inference,
1498 * it will raise many errors. Also it does not provide type safety without 1487 * it will raise many errors. Also it does not provide type safety without
1499 * strong mode. 1488 * strong mode.
1500 * 1489 *
1501 * This option is experimental and subject to change. 1490 * This option is experimental and subject to change.
1502 */ 1491 */
(...skipping 30 matching lines...) Expand all
1533 preserveComments = options.preserveComments; 1522 preserveComments = options.preserveComments;
1534 strongMode = options.strongMode; 1523 strongMode = options.strongMode;
1535 if (options is AnalysisOptionsImpl) { 1524 if (options is AnalysisOptionsImpl) {
1536 strongModeHints = options.strongModeHints; 1525 strongModeHints = options.strongModeHints;
1537 implicitCasts = options.implicitCasts; 1526 implicitCasts = options.implicitCasts;
1538 nonnullableTypes = options.nonnullableTypes; 1527 nonnullableTypes = options.nonnullableTypes;
1539 implicitDynamic = options.implicitDynamic; 1528 implicitDynamic = options.implicitDynamic;
1540 } 1529 }
1541 trackCacheDependencies = options.trackCacheDependencies; 1530 trackCacheDependencies = options.trackCacheDependencies;
1542 disableCacheFlushing = options.disableCacheFlushing; 1531 disableCacheFlushing = options.disableCacheFlushing;
1543 finerGrainedInvalidation = options.finerGrainedInvalidation;
1544 patchPaths = options.patchPaths; 1532 patchPaths = options.patchPaths;
1545 } 1533 }
1546 1534
1547 bool get analyzeFunctionBodies { 1535 bool get analyzeFunctionBodies {
1548 if (identical(analyzeFunctionBodiesPredicate, _analyzeAllFunctionBodies)) { 1536 if (identical(analyzeFunctionBodiesPredicate, _analyzeAllFunctionBodies)) {
1549 return true; 1537 return true;
1550 } else if (identical( 1538 } else if (identical(
1551 analyzeFunctionBodiesPredicate, _analyzeNoFunctionBodies)) { 1539 analyzeFunctionBodiesPredicate, _analyzeNoFunctionBodies)) {
1552 return false; 1540 return false;
1553 } else { 1541 } else {
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
1684 dart2jsHint = false; 1672 dart2jsHint = false;
1685 disableCacheFlushing = false; 1673 disableCacheFlushing = false;
1686 enableAssertInitializer = false; 1674 enableAssertInitializer = false;
1687 enableLazyAssignmentOperators = false; 1675 enableLazyAssignmentOperators = false;
1688 enableStrictCallChecks = false; 1676 enableStrictCallChecks = false;
1689 enableSuperMixins = false; 1677 enableSuperMixins = false;
1690 enableTiming = false; 1678 enableTiming = false;
1691 enableUriInPartOf = true; 1679 enableUriInPartOf = true;
1692 _errorProcessors = null; 1680 _errorProcessors = null;
1693 _excludePatterns = null; 1681 _excludePatterns = null;
1694 finerGrainedInvalidation = false;
1695 generateImplicitErrors = true; 1682 generateImplicitErrors = true;
1696 generateSdkErrors = false; 1683 generateSdkErrors = false;
1697 hint = true; 1684 hint = true;
1698 implicitCasts = true; 1685 implicitCasts = true;
1699 implicitDynamic = true; 1686 implicitDynamic = true;
1700 incremental = false; 1687 incremental = false;
1701 incrementalApi = false; 1688 incrementalApi = false;
1702 incrementalValidation = false; 1689 incrementalValidation = false;
1703 lint = false; 1690 lint = false;
1704 _lintRules = null; 1691 _lintRules = null;
(...skipping 1186 matching lines...) Expand 10 before | Expand all | Expand 10 after
2891 */ 2878 */
2892 bool get wereSourcesAdded => _changeSet.addedSources.length > 0; 2879 bool get wereSourcesAdded => _changeSet.addedSources.length > 0;
2893 2880
2894 /** 2881 /**
2895 * Return `true` if any sources were removed or deleted. 2882 * Return `true` if any sources were removed or deleted.
2896 */ 2883 */
2897 bool get wereSourcesRemoved => 2884 bool get wereSourcesRemoved =>
2898 _changeSet.removedSources.length > 0 || 2885 _changeSet.removedSources.length > 0 ||
2899 _changeSet.removedContainers.length > 0; 2886 _changeSet.removedContainers.length > 0;
2900 } 2887 }
OLDNEW
« 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