OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 ordered_typeset; | 5 library ordered_typeset; |
6 | 6 |
7 import 'dart2jslib.dart' show Compiler, invariant; | 7 import 'compiler.dart' show |
| 8 Compiler; |
8 import 'dart_types.dart'; | 9 import 'dart_types.dart'; |
9 import 'elements/elements.dart' show ClassElement; | 10 import 'diagnostics/invariant.dart' show |
10 import 'messages.dart' show MessageKind; | 11 invariant; |
11 import 'util/util.dart' show Link, LinkBuilder; | 12 import 'elements/elements.dart' show |
12 import 'util/util_implementation.dart' show LinkEntry; | 13 ClassElement; |
| 14 import 'messages.dart' show |
| 15 MessageKind; |
| 16 import 'util/util.dart' show |
| 17 Link, |
| 18 LinkBuilder; |
| 19 import 'util/util_implementation.dart' show |
| 20 LinkEntry; |
13 | 21 |
14 /** | 22 /** |
15 * An ordered set of the supertypes of a class. The supertypes of a class are | 23 * An ordered set of the supertypes of a class. The supertypes of a class are |
16 * ordered by decreasing hierarchy depth and by the order they are extended, | 24 * ordered by decreasing hierarchy depth and by the order they are extended, |
17 * mixed in, or implemented. | 25 * mixed in, or implemented. |
18 * | 26 * |
19 * For these classes | 27 * For these classes |
20 * | 28 * |
21 * class A {} // Depth = 1. | 29 * class A {} // Depth = 1. |
22 * class B {} // Depth = 1. | 30 * class B {} // Depth = 1. |
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 while (first.tail != null) { | 236 while (first.tail != null) { |
229 sb.write(', ${first.tail.head}'); | 237 sb.write(', ${first.tail.head}'); |
230 first = first.tail; | 238 first = first.tail; |
231 } | 239 } |
232 } | 240 } |
233 sb.write('\n'); | 241 sb.write('\n'); |
234 } | 242 } |
235 return sb.toString(); | 243 return sb.toString(); |
236 } | 244 } |
237 } | 245 } |
OLD | NEW |