| OLD | NEW |
| 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 1404 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1415 * some analysis context. | 1415 * some analysis context. |
| 1416 */ | 1416 */ |
| 1417 List<ErrorProcessor> _errorProcessors; | 1417 List<ErrorProcessor> _errorProcessors; |
| 1418 | 1418 |
| 1419 /** | 1419 /** |
| 1420 * A list of exclude patterns used to exclude some sources from analysis. | 1420 * A list of exclude patterns used to exclude some sources from analysis. |
| 1421 */ | 1421 */ |
| 1422 List<String> _excludePatterns; | 1422 List<String> _excludePatterns; |
| 1423 | 1423 |
| 1424 @override | 1424 @override |
| 1425 bool enableUriInPartOf = false; | 1425 bool enableUriInPartOf = true; |
| 1426 | 1426 |
| 1427 @override | 1427 @override |
| 1428 bool generateImplicitErrors = true; | 1428 bool generateImplicitErrors = true; |
| 1429 | 1429 |
| 1430 @override | 1430 @override |
| 1431 bool generateSdkErrors = false; | 1431 bool generateSdkErrors = false; |
| 1432 | 1432 |
| 1433 @override | 1433 @override |
| 1434 bool hint = true; | 1434 bool hint = true; |
| 1435 | 1435 |
| (...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1679 | 1679 |
| 1680 @override | 1680 @override |
| 1681 void resetToDefaults() { | 1681 void resetToDefaults() { |
| 1682 dart2jsHint = false; | 1682 dart2jsHint = false; |
| 1683 disableCacheFlushing = false; | 1683 disableCacheFlushing = false; |
| 1684 enableAssertInitializer = false; | 1684 enableAssertInitializer = false; |
| 1685 enableLazyAssignmentOperators = false; | 1685 enableLazyAssignmentOperators = false; |
| 1686 enableStrictCallChecks = false; | 1686 enableStrictCallChecks = false; |
| 1687 enableSuperMixins = false; | 1687 enableSuperMixins = false; |
| 1688 enableTiming = false; | 1688 enableTiming = false; |
| 1689 enableUriInPartOf = false; | 1689 enableUriInPartOf = true; |
| 1690 _errorProcessors = null; | 1690 _errorProcessors = null; |
| 1691 _excludePatterns = null; | 1691 _excludePatterns = null; |
| 1692 finerGrainedInvalidation = false; | 1692 finerGrainedInvalidation = false; |
| 1693 generateImplicitErrors = true; | 1693 generateImplicitErrors = true; |
| 1694 generateSdkErrors = false; | 1694 generateSdkErrors = false; |
| 1695 hint = true; | 1695 hint = true; |
| 1696 implicitCasts = true; | 1696 implicitCasts = true; |
| 1697 implicitDynamic = true; | 1697 implicitDynamic = true; |
| 1698 incremental = false; | 1698 incremental = false; |
| 1699 incrementalApi = false; | 1699 incrementalApi = false; |
| (...skipping 1189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2889 */ | 2889 */ |
| 2890 bool get wereSourcesAdded => _changeSet.addedSources.length > 0; | 2890 bool get wereSourcesAdded => _changeSet.addedSources.length > 0; |
| 2891 | 2891 |
| 2892 /** | 2892 /** |
| 2893 * Return `true` if any sources were removed or deleted. | 2893 * Return `true` if any sources were removed or deleted. |
| 2894 */ | 2894 */ |
| 2895 bool get wereSourcesRemoved => | 2895 bool get wereSourcesRemoved => |
| 2896 _changeSet.removedSources.length > 0 || | 2896 _changeSet.removedSources.length > 0 || |
| 2897 _changeSet.removedContainers.length > 0; | 2897 _changeSet.removedContainers.length > 0; |
| 2898 } | 2898 } |
| OLD | NEW |