| OLD | NEW |
| 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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 dart2js.world.class_set; | 5 library dart2js.world.class_set; |
| 6 | 6 |
| 7 import 'dart:collection' show | 7 import 'dart:collection' show |
| 8 IterableBase; | 8 IterableBase; |
| 9 import '../common.dart'; | |
| 10 import '../elements/elements.dart' show | 9 import '../elements/elements.dart' show |
| 11 ClassElement; | 10 ClassElement; |
| 12 import '../util/enumset.dart' show | 11 import '../util/enumset.dart' show |
| 13 EnumSet; | 12 EnumSet; |
| 14 import '../util/util.dart' show | 13 import '../util/util.dart' show |
| 15 Link; | 14 Link; |
| 16 | 15 |
| 17 /// Enum for the different kinds of instantiation of a class. | 16 /// Enum for the different kinds of instantiation of a class. |
| 18 enum Instantiation { | 17 enum Instantiation { |
| 19 UNINSTANTIATED, | 18 UNINSTANTIATED, |
| (...skipping 842 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 862 /// Iteration stops immediately. | 861 /// Iteration stops immediately. |
| 863 STOP, | 862 STOP, |
| 864 /// Iteration skips the subclasses of the current class. | 863 /// Iteration skips the subclasses of the current class. |
| 865 SKIP_SUBCLASSES, | 864 SKIP_SUBCLASSES, |
| 866 } | 865 } |
| 867 | 866 |
| 868 /// Visiting function used for the `forEachX` functions of [ClassHierarchyNode] | 867 /// Visiting function used for the `forEachX` functions of [ClassHierarchyNode] |
| 869 /// and [ClassSet]. The return value controls the continued iteration. If `null` | 868 /// and [ClassSet]. The return value controls the continued iteration. If `null` |
| 870 /// is returned, iteration continues to the end. | 869 /// is returned, iteration continues to the end. |
| 871 typedef ForEach ForEachFunction(ClassElement cls); | 870 typedef ForEach ForEachFunction(ClassElement cls); |
| OLD | NEW |