| 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.serialization.elements; | 5 library dart2js.serialization.elements; |
| 6 | 6 |
| 7 import '../common.dart'; | 7 import '../common.dart'; |
| 8 import '../constants/constructors.dart'; | 8 import '../constants/constructors.dart'; |
| 9 import '../constants/expressions.dart'; | 9 import '../constants/expressions.dart'; |
| 10 import '../dart_types.dart'; | 10 import '../elements/resolution_types.dart'; |
| 11 import '../diagnostics/messages.dart'; | 11 import '../diagnostics/messages.dart'; |
| 12 import '../elements/elements.dart'; | 12 import '../elements/elements.dart'; |
| 13 import '../elements/modelx.dart' | 13 import '../elements/modelx.dart' |
| 14 show | 14 show |
| 15 AmbiguousImportX, | 15 AmbiguousImportX, |
| 16 DeferredLoaderGetterElementX, | 16 DeferredLoaderGetterElementX, |
| 17 ErroneousElementX, | 17 ErroneousElementX, |
| 18 WarnOnUseElementX, | 18 WarnOnUseElementX, |
| 19 WrappedMessage; | 19 WrappedMessage; |
| 20 import 'constant_serialization.dart'; | 20 import 'constant_serialization.dart'; |
| (...skipping 928 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 949 enclosingElement, existingElement, newElement); | 949 enclosingElement, existingElement, newElement); |
| 950 case SerializedElementKind.EXTERNAL_LIBRARY: | 950 case SerializedElementKind.EXTERNAL_LIBRARY: |
| 951 case SerializedElementKind.EXTERNAL_LIBRARY_MEMBER: | 951 case SerializedElementKind.EXTERNAL_LIBRARY_MEMBER: |
| 952 case SerializedElementKind.EXTERNAL_CLASS_MEMBER: | 952 case SerializedElementKind.EXTERNAL_CLASS_MEMBER: |
| 953 case SerializedElementKind.EXTERNAL_CONSTRUCTOR: | 953 case SerializedElementKind.EXTERNAL_CONSTRUCTOR: |
| 954 break; | 954 break; |
| 955 } | 955 } |
| 956 throw new UnsupportedError("Unexpected element kind '${elementKind}."); | 956 throw new UnsupportedError("Unexpected element kind '${elementKind}."); |
| 957 } | 957 } |
| 958 } | 958 } |
| OLD | NEW |