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 1052 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1063 */ | 1063 */ |
1064 @deprecated | 1064 @deprecated |
1065 bool get enableConditionalDirectives; | 1065 bool get enableConditionalDirectives; |
1066 | 1066 |
1067 /** | 1067 /** |
1068 * Return `true` to enable generic methods (DEP 22). | 1068 * Return `true` to enable generic methods (DEP 22). |
1069 */ | 1069 */ |
1070 bool get enableGenericMethods => null; | 1070 bool get enableGenericMethods => null; |
1071 | 1071 |
1072 /** | 1072 /** |
| 1073 * Return `true` to enable the lazy compound assignment operators '&&=' and |
| 1074 * '||='. |
| 1075 */ |
| 1076 bool get enableLazyAssignmentOperators; |
| 1077 |
| 1078 /** |
1073 * Return `true` to strictly follow the specification when generating | 1079 * Return `true` to strictly follow the specification when generating |
1074 * warnings on "call" methods (fixes dartbug.com/21938). | 1080 * warnings on "call" methods (fixes dartbug.com/21938). |
1075 */ | 1081 */ |
1076 bool get enableStrictCallChecks; | 1082 bool get enableStrictCallChecks; |
1077 | 1083 |
1078 /** | 1084 /** |
1079 * Return `true` if mixins are allowed to inherit from types other than | 1085 * Return `true` if mixins are allowed to inherit from types other than |
1080 * Object, and are allowed to reference `super`. | 1086 * Object, and are allowed to reference `super`. |
1081 */ | 1087 */ |
1082 bool get enableSuperMixins; | 1088 bool get enableSuperMixins; |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1212 /** | 1218 /** |
1213 * A flag indicating whether analysis is to enable async support. | 1219 * A flag indicating whether analysis is to enable async support. |
1214 */ | 1220 */ |
1215 bool enableAsync = true; | 1221 bool enableAsync = true; |
1216 | 1222 |
1217 /** | 1223 /** |
1218 * A flag indicating whether generic methods are to be supported (DEP 22). | 1224 * A flag indicating whether generic methods are to be supported (DEP 22). |
1219 */ | 1225 */ |
1220 bool enableGenericMethods = false; | 1226 bool enableGenericMethods = false; |
1221 | 1227 |
| 1228 @override |
| 1229 bool enableLazyAssignmentOperators = false; |
| 1230 |
1222 /** | 1231 /** |
1223 * A flag indicating whether analysis is to strictly follow the specification | 1232 * A flag indicating whether analysis is to strictly follow the specification |
1224 * when generating warnings on "call" methods (fixes dartbug.com/21938). | 1233 * when generating warnings on "call" methods (fixes dartbug.com/21938). |
1225 */ | 1234 */ |
1226 bool enableStrictCallChecks = false; | 1235 bool enableStrictCallChecks = false; |
1227 | 1236 |
1228 /** | 1237 /** |
1229 * A flag indicating whether mixins are allowed to inherit from types other | 1238 * A flag indicating whether mixins are allowed to inherit from types other |
1230 * than Object, and are allowed to reference `super`. | 1239 * than Object, and are allowed to reference `super`. |
1231 */ | 1240 */ |
(...skipping 1471 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2703 * The data that was created from the source. | 2712 * The data that was created from the source. |
2704 */ | 2713 */ |
2705 final E data; | 2714 final E data; |
2706 | 2715 |
2707 /** | 2716 /** |
2708 * Initialize a newly created holder to associate the given [data] with the | 2717 * Initialize a newly created holder to associate the given [data] with the |
2709 * given [modificationTime]. | 2718 * given [modificationTime]. |
2710 */ | 2719 */ |
2711 TimestampedData(this.modificationTime, this.data); | 2720 TimestampedData(this.modificationTime, this.data); |
2712 } | 2721 } |
OLD | NEW |