| 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 1216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1227 | 1227 |
| 1228 /** | 1228 /** |
| 1229 * A flag indicating whether mixins are allowed to inherit from types other | 1229 * A flag indicating whether mixins are allowed to inherit from types other |
| 1230 * than Object, and are allowed to reference `super`. | 1230 * than Object, and are allowed to reference `super`. |
| 1231 */ | 1231 */ |
| 1232 bool enableSuperMixins = false; | 1232 bool enableSuperMixins = false; |
| 1233 | 1233 |
| 1234 @override | 1234 @override |
| 1235 bool enableTiming = false; | 1235 bool enableTiming = false; |
| 1236 | 1236 |
| 1237 @override | |
| 1238 bool enableTrailingCommas = true; | |
| 1239 | |
| 1240 /** | 1237 /** |
| 1241 * A flag indicating whether errors, warnings and hints should be generated | 1238 * A flag indicating whether errors, warnings and hints should be generated |
| 1242 * for sources that are implicitly being analyzed. | 1239 * for sources that are implicitly being analyzed. |
| 1243 */ | 1240 */ |
| 1244 bool generateImplicitErrors = true; | 1241 bool generateImplicitErrors = true; |
| 1245 | 1242 |
| 1246 /** | 1243 /** |
| 1247 * A flag indicating whether errors, warnings and hints should be generated | 1244 * A flag indicating whether errors, warnings and hints should be generated |
| 1248 * for sources in the SDK. | 1245 * for sources in the SDK. |
| 1249 */ | 1246 */ |
| (...skipping 1456 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2706 * The data that was created from the source. | 2703 * The data that was created from the source. |
| 2707 */ | 2704 */ |
| 2708 final E data; | 2705 final E data; |
| 2709 | 2706 |
| 2710 /** | 2707 /** |
| 2711 * Initialize a newly created holder to associate the given [data] with the | 2708 * Initialize a newly created holder to associate the given [data] with the |
| 2712 * given [modificationTime]. | 2709 * given [modificationTime]. |
| 2713 */ | 2710 */ |
| 2714 TimestampedData(this.modificationTime, this.data); | 2711 TimestampedData(this.modificationTime, this.data); |
| 2715 } | 2712 } |
| OLD | NEW |