| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 dart_types; | 5 library dart_types; |
| 6 | 6 |
| 7 import 'dart:math' show min; | 7 import 'dart:math' show min; |
| 8 | 8 |
| 9 import 'core_types.dart'; | 9 import 'core_types.dart'; |
| 10 import 'dart2jslib.dart' show Compiler, invariant, Script, Message; | 10 import 'compiler.dart' show |
| 11 import 'elements/modelx.dart' | 11 Compiler; |
| 12 show LibraryElementX, | 12 import 'diagnostics/invariant.dart' show |
| 13 TypeDeclarationElementX, | 13 invariant; |
| 14 TypedefElementX; | 14 import 'diagnostics/spannable.dart' show |
| 15 CURRENT_ELEMENT_SPANNABLE; |
| 16 import 'elements/modelx.dart' show |
| 17 LibraryElementX, |
| 18 TypeDeclarationElementX, |
| 19 TypedefElementX; |
| 15 import 'elements/elements.dart'; | 20 import 'elements/elements.dart'; |
| 16 import 'ordered_typeset.dart' show OrderedTypeSet; | 21 import 'ordered_typeset.dart' show |
| 17 import 'util/util.dart' show CURRENT_ELEMENT_SPANNABLE, equalElements; | 22 OrderedTypeSet; |
| 23 import 'util/util.dart' show |
| 24 equalElements; |
| 18 | 25 |
| 19 enum TypeKind { | 26 enum TypeKind { |
| 20 FUNCTION, | 27 FUNCTION, |
| 21 INTERFACE, | 28 INTERFACE, |
| 22 STATEMENT, | 29 STATEMENT, |
| 23 TYPEDEF, | 30 TYPEDEF, |
| 24 TYPE_VARIABLE, | 31 TYPE_VARIABLE, |
| 25 MALFORMED_TYPE, | 32 MALFORMED_TYPE, |
| 26 DYNAMIC, | 33 DYNAMIC, |
| 27 VOID, | 34 VOID, |
| (...skipping 1843 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1871 } | 1878 } |
| 1872 namedParameterTypes[index].accept(this, namedParameters[index]); | 1879 namedParameterTypes[index].accept(this, namedParameters[index]); |
| 1873 needsComma = true; | 1880 needsComma = true; |
| 1874 } | 1881 } |
| 1875 sb.write('}'); | 1882 sb.write('}'); |
| 1876 } | 1883 } |
| 1877 sb.write(')'); | 1884 sb.write(')'); |
| 1878 } | 1885 } |
| 1879 } | 1886 } |
| 1880 | 1887 |
| OLD | NEW |