Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(34)

Side by Side Diff: pkg/analyzer/lib/src/generated/engine.dart

Issue 2651513002: Issue 28466. Include ErrorProcessor(s) into the AnalysisOptions signature. (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « pkg/analyzer/lib/source/error_processor.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 1638 matching lines...) Expand 10 before | Expand all | Expand 10 after
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(enableLazyAssignmentOperators); 1653 buffer.addBool(enableLazyAssignmentOperators);
1654 buffer.addBool(enableStrictCallChecks); 1654 buffer.addBool(enableStrictCallChecks);
1655 buffer.addBool(enableSuperMixins); 1655 buffer.addBool(enableSuperMixins);
1656 buffer.addBool(strongMode); 1656 buffer.addBool(strongMode);
1657 buffer.addBool(strongModeHints); 1657 buffer.addBool(strongModeHints);
1658 1658
1659 // Append error processors.
1660 buffer.addInt(errorProcessors.length);
1661 for (ErrorProcessor processor in errorProcessors) {
1662 buffer.addString(processor.description);
1663 }
1664
1659 // Append lints. 1665 // Append lints.
1660 buffer.addInt(lintRules.length); 1666 buffer.addInt(lintRules.length);
1661 for (Linter lintRule in lintRules) { 1667 for (Linter lintRule in lintRules) {
1662 buffer.addString(lintRule.lintCode.uniqueName); 1668 buffer.addString(lintRule.lintCode.uniqueName);
1663 } 1669 }
1664 1670
1665 // Hash and convert to Uint32List. 1671 // Hash and convert to Uint32List.
1666 List<int> bytes = buffer.toByteList(); 1672 List<int> bytes = buffer.toByteList();
1667 _signature = new Uint8List.fromList(bytes).buffer.asUint32List(); 1673 _signature = new Uint8List.fromList(bytes).buffer.asUint32List();
1668 } 1674 }
(...skipping 1212 matching lines...) Expand 10 before | Expand all | Expand 10 after
2881 */ 2887 */
2882 bool get wereSourcesAdded => _changeSet.addedSources.length > 0; 2888 bool get wereSourcesAdded => _changeSet.addedSources.length > 0;
2883 2889
2884 /** 2890 /**
2885 * Return `true` if any sources were removed or deleted. 2891 * Return `true` if any sources were removed or deleted.
2886 */ 2892 */
2887 bool get wereSourcesRemoved => 2893 bool get wereSourcesRemoved =>
2888 _changeSet.removedSources.length > 0 || 2894 _changeSet.removedSources.length > 0 ||
2889 _changeSet.removedContainers.length > 0; 2895 _changeSet.removedContainers.length > 0;
2890 } 2896 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/source/error_processor.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698