| 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 '../constants/constructors.dart'; |
| 7 import '../constants/expressions.dart'; | 8 import '../constants/expressions.dart'; |
| 8 import '../dart_types.dart'; | 9 import '../dart_types.dart'; |
| 9 import '../dart2jslib.dart' show SourceSpan; | 10 import '../dart2jslib.dart' show SourceSpan; |
| 10 import '../elements/elements.dart'; | 11 import '../elements/elements.dart'; |
| 11 import '../tree/tree.dart'; | 12 import '../tree/tree.dart'; |
| 12 import 'constant_serialization.dart'; | 13 import 'constant_serialization.dart'; |
| 13 import 'keys.dart'; | 14 import 'keys.dart'; |
| 14 import 'modelz.dart'; | 15 import 'modelz.dart'; |
| 15 import 'serialization.dart'; | 16 import 'serialization.dart'; |
| 16 | 17 |
| (...skipping 460 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 477 case SerializedElementKind.TYPEVARIABLE: | 478 case SerializedElementKind.TYPEVARIABLE: |
| 478 return new TypeVariableElementZ(decoder); | 479 return new TypeVariableElementZ(decoder); |
| 479 case SerializedElementKind.PARAMETER: | 480 case SerializedElementKind.PARAMETER: |
| 480 return new ParameterElementZ(decoder); | 481 return new ParameterElementZ(decoder); |
| 481 case SerializedElementKind.INITIALIZING_FORMAL: | 482 case SerializedElementKind.INITIALIZING_FORMAL: |
| 482 return new InitializingFormalElementZ(decoder); | 483 return new InitializingFormalElementZ(decoder); |
| 483 } | 484 } |
| 484 throw new UnsupportedError("Unexpected element kind '${elementKind}."); | 485 throw new UnsupportedError("Unexpected element kind '${elementKind}."); |
| 485 } | 486 } |
| 486 } | 487 } |
| OLD | NEW |