| 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 1632 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1643 void set lintRules(List<Linter> rules) { | 1643 void set lintRules(List<Linter> rules) { |
| 1644 _lintRules = rules; | 1644 _lintRules = rules; |
| 1645 } | 1645 } |
| 1646 | 1646 |
| 1647 @override | 1647 @override |
| 1648 Uint32List get signature { | 1648 Uint32List get signature { |
| 1649 if (_signature == null) { | 1649 if (_signature == null) { |
| 1650 ApiSignature buffer = new ApiSignature(); | 1650 ApiSignature buffer = new ApiSignature(); |
| 1651 | 1651 |
| 1652 // Append boolean flags. | 1652 // Append boolean flags. |
| 1653 buffer.addBool(enableAssertInitializer); |
| 1653 buffer.addBool(enableLazyAssignmentOperators); | 1654 buffer.addBool(enableLazyAssignmentOperators); |
| 1654 buffer.addBool(enableStrictCallChecks); | 1655 buffer.addBool(enableStrictCallChecks); |
| 1655 buffer.addBool(enableSuperMixins); | 1656 buffer.addBool(enableSuperMixins); |
| 1657 buffer.addBool(enableUriInPartOf); |
| 1656 buffer.addBool(implicitCasts); | 1658 buffer.addBool(implicitCasts); |
| 1657 buffer.addBool(implicitDynamic); | 1659 buffer.addBool(implicitDynamic); |
| 1658 buffer.addBool(strongMode); | 1660 buffer.addBool(strongMode); |
| 1659 buffer.addBool(strongModeHints); | 1661 buffer.addBool(strongModeHints); |
| 1660 | 1662 |
| 1661 // Append error processors. | 1663 // Append error processors. |
| 1662 buffer.addInt(errorProcessors.length); | 1664 buffer.addInt(errorProcessors.length); |
| 1663 for (ErrorProcessor processor in errorProcessors) { | 1665 for (ErrorProcessor processor in errorProcessors) { |
| 1664 buffer.addString(processor.description); | 1666 buffer.addString(processor.description); |
| 1665 } | 1667 } |
| (...skipping 1223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2889 */ | 2891 */ |
| 2890 bool get wereSourcesAdded => _changeSet.addedSources.length > 0; | 2892 bool get wereSourcesAdded => _changeSet.addedSources.length > 0; |
| 2891 | 2893 |
| 2892 /** | 2894 /** |
| 2893 * Return `true` if any sources were removed or deleted. | 2895 * Return `true` if any sources were removed or deleted. |
| 2894 */ | 2896 */ |
| 2895 bool get wereSourcesRemoved => | 2897 bool get wereSourcesRemoved => |
| 2896 _changeSet.removedSources.length > 0 || | 2898 _changeSet.removedSources.length > 0 || |
| 2897 _changeSet.removedContainers.length > 0; | 2899 _changeSet.removedContainers.length > 0; |
| 2898 } | 2900 } |
| OLD | NEW |