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

Side by Side Diff: pkg/compiler/lib/src/universe/class_set.dart

Issue 2647043002: Fix hints reported by analyzer. (Closed)
Patch Set: Address review comments. 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
OLDNEW
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 IterableBase; 7 import 'dart:collection' show IterableBase;
8 8
9 import '../common.dart';
10 import '../elements/elements.dart' show ClassElement; 9 import '../elements/elements.dart' show ClassElement;
11 import '../util/enumset.dart' show EnumSet; 10 import '../util/enumset.dart' show EnumSet;
12 import '../util/util.dart' show Link; 11 import '../util/util.dart' show Link;
13 12
14 /// Enum for the different kinds of instantiation of a class. 13 /// Enum for the different kinds of instantiation of a class.
15 enum Instantiation { 14 enum Instantiation {
16 UNINSTANTIATED, 15 UNINSTANTIATED,
17 DIRECTLY_INSTANTIATED, 16 DIRECTLY_INSTANTIATED,
18 INDIRECTLY_INSTANTIATED, 17 INDIRECTLY_INSTANTIATED,
19 ABSTRACTLY_INSTANTIATED, 18 ABSTRACTLY_INSTANTIATED,
(...skipping 880 matching lines...) Expand 10 before | Expand all | Expand 10 after
900 STOP, 899 STOP,
901 900
902 /// Iteration skips the subclasses of the current class. 901 /// Iteration skips the subclasses of the current class.
903 SKIP_SUBCLASSES, 902 SKIP_SUBCLASSES,
904 } 903 }
905 904
906 /// Visiting function used for the `forEachX` functions of [ClassHierarchyNode] 905 /// Visiting function used for the `forEachX` functions of [ClassHierarchyNode]
907 /// and [ClassSet]. The return value controls the continued iteration. If `null` 906 /// and [ClassSet]. The return value controls the continued iteration. If `null`
908 /// is returned, iteration continues to the end. 907 /// is returned, iteration continues to the end.
909 typedef IterationStep ForEachFunction(ClassElement cls); 908 typedef IterationStep ForEachFunction(ClassElement cls);
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/universe/call_structure.dart ('k') | pkg/compiler/lib/src/universe/world_builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698