| 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 | 9 |
| 10 import 'package:analyzer/dart/ast/ast.dart'; | 10 import 'package:analyzer/dart/ast/ast.dart'; |
| (...skipping 1137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1148 * Object, and are allowed to reference `super`. | 1148 * Object, and are allowed to reference `super`. |
| 1149 */ | 1149 */ |
| 1150 bool get enableSuperMixins; | 1150 bool get enableSuperMixins; |
| 1151 | 1151 |
| 1152 /** | 1152 /** |
| 1153 * Return `true` if timing data should be gathered during execution. | 1153 * Return `true` if timing data should be gathered during execution. |
| 1154 */ | 1154 */ |
| 1155 bool get enableTiming; | 1155 bool get enableTiming; |
| 1156 | 1156 |
| 1157 /** | 1157 /** |
| 1158 * Return `true` to enable the use of URIs in part-of directives. |
| 1159 */ |
| 1160 bool get enableUriInPartOf; |
| 1161 |
| 1162 /** |
| 1158 * Return a list of error processors that are to be used when reporting | 1163 * Return a list of error processors that are to be used when reporting |
| 1159 * errors in some analysis context. | 1164 * errors in some analysis context. |
| 1160 */ | 1165 */ |
| 1161 List<ErrorProcessor> get errorProcessors; | 1166 List<ErrorProcessor> get errorProcessors; |
| 1162 | 1167 |
| 1163 /** | 1168 /** |
| 1164 * Return a list of exclude patterns used to exclude some sources from | 1169 * Return a list of exclude patterns used to exclude some sources from |
| 1165 * analysis. | 1170 * analysis. |
| 1166 */ | 1171 */ |
| 1167 List<String> get excludePatterns; | 1172 List<String> get excludePatterns; |
| (...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1344 * some analysis context. | 1349 * some analysis context. |
| 1345 */ | 1350 */ |
| 1346 List<ErrorProcessor> _errorProcessors; | 1351 List<ErrorProcessor> _errorProcessors; |
| 1347 | 1352 |
| 1348 /** | 1353 /** |
| 1349 * A list of exclude patterns used to exclude some sources from analysis. | 1354 * A list of exclude patterns used to exclude some sources from analysis. |
| 1350 */ | 1355 */ |
| 1351 List<String> _excludePatterns; | 1356 List<String> _excludePatterns; |
| 1352 | 1357 |
| 1353 @override | 1358 @override |
| 1359 bool enableUriInPartOf = false; |
| 1360 |
| 1361 @override |
| 1354 bool generateImplicitErrors = true; | 1362 bool generateImplicitErrors = true; |
| 1355 | 1363 |
| 1356 @override | 1364 @override |
| 1357 bool generateSdkErrors = false; | 1365 bool generateSdkErrors = false; |
| 1358 | 1366 |
| 1359 @override | 1367 @override |
| 1360 bool hint = true; | 1368 bool hint = true; |
| 1361 | 1369 |
| 1362 @override | 1370 @override |
| 1363 bool incremental = false; | 1371 bool incremental = false; |
| (...skipping 1426 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2790 */ | 2798 */ |
| 2791 bool get wereSourcesAdded => _changeSet.addedSources.length > 0; | 2799 bool get wereSourcesAdded => _changeSet.addedSources.length > 0; |
| 2792 | 2800 |
| 2793 /** | 2801 /** |
| 2794 * Return `true` if any sources were removed or deleted. | 2802 * Return `true` if any sources were removed or deleted. |
| 2795 */ | 2803 */ |
| 2796 bool get wereSourcesRemoved => | 2804 bool get wereSourcesRemoved => |
| 2797 _changeSet.removedSources.length > 0 || | 2805 _changeSet.removedSources.length > 0 || |
| 2798 _changeSet.removedContainers.length > 0; | 2806 _changeSet.removedContainers.length > 0; |
| 2799 } | 2807 } |
| OLD | NEW |