| 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; | 5 library dart2js.serialization; |
| 6 | 6 |
| 7 import '../common.dart'; | 7 import '../common.dart'; |
| 8 import '../common/resolution.dart'; | 8 import '../common/resolution.dart'; |
| 9 import '../constants/expressions.dart'; | 9 import '../constants/expressions.dart'; |
| 10 import '../dart_types.dart'; | 10 import '../elements/resolution_types.dart'; |
| 11 import '../elements/elements.dart'; | 11 import '../elements/elements.dart'; |
| 12 import '../library_loader.dart' show LibraryProvider; | 12 import '../library_loader.dart' show LibraryProvider; |
| 13 import '../util/enumset.dart'; | 13 import '../util/enumset.dart'; |
| 14 import 'constant_serialization.dart'; | 14 import 'constant_serialization.dart'; |
| 15 import 'element_serialization.dart'; | 15 import 'element_serialization.dart'; |
| 16 import 'json_serializer.dart'; | 16 import 'json_serializer.dart'; |
| 17 import 'keys.dart'; | 17 import 'keys.dart'; |
| 18 import 'type_serialization.dart'; | 18 import 'type_serialization.dart'; |
| 19 import 'values.dart'; | 19 import 'values.dart'; |
| 20 | 20 |
| (...skipping 1116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1137 | 1137 |
| 1138 /// Returns the value used to store [key] as a property in the encoding an | 1138 /// Returns the value used to store [key] as a property in the encoding an |
| 1139 /// [ObjectValue]. | 1139 /// [ObjectValue]. |
| 1140 /// | 1140 /// |
| 1141 /// Different encodings have different restrictions and capabilities as how | 1141 /// Different encodings have different restrictions and capabilities as how |
| 1142 /// to store a [Key] value. For instance: A JSON encoding needs to convert | 1142 /// to store a [Key] value. For instance: A JSON encoding needs to convert |
| 1143 /// [Key] to a [String] to store it in a JSON object; a Dart encoding can | 1143 /// [Key] to a [String] to store it in a JSON object; a Dart encoding can |
| 1144 /// choose to store a [Key] as an [int] or as the [Key] itself. | 1144 /// choose to store a [Key] as an [int] or as the [Key] itself. |
| 1145 getObjectPropertyValue(Key key); | 1145 getObjectPropertyValue(Key key); |
| 1146 } | 1146 } |
| OLD | NEW |