Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1129)

Side by Side Diff: pkg/compiler/lib/src/serialization/serialization.dart

Issue 1815693002: Don't serialize unnamed mixin applications. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Updated cf. comments. Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/backend_api.dart';
8 import '../elements/elements.dart'; 7 import '../elements/elements.dart';
9 import '../constants/expressions.dart'; 8 import '../constants/expressions.dart';
10 import '../dart_types.dart'; 9 import '../dart_types.dart';
11 import '../universe/world_impact.dart';
12 10
13 import 'constant_serialization.dart'; 11 import 'constant_serialization.dart';
14 import 'element_serialization.dart'; 12 import 'element_serialization.dart';
15 import 'impact_serialization.dart';
16 import 'json_serializer.dart'; 13 import 'json_serializer.dart';
17 import 'keys.dart'; 14 import 'keys.dart';
18 import 'type_serialization.dart'; 15 import 'type_serialization.dart';
19 import 'values.dart'; 16 import 'values.dart';
20 17
21 /// An object that supports the encoding an [ObjectValue] for serialization. 18 /// An object that supports the encoding an [ObjectValue] for serialization.
22 /// 19 ///
23 /// The [ObjectEncoder] ensures that nominality and circularities of 20 /// The [ObjectEncoder] ensures that nominality and circularities of
24 /// non-primitive values like [Element], [DartType] and [ConstantExpression] are 21 /// non-primitive values like [Element], [DartType] and [ConstantExpression] are
25 /// handled. 22 /// handled.
(...skipping 883 matching lines...) Expand 10 before | Expand all | Expand 10 after
909 906
910 /// Returns the value used to store [key] as a property in the encoding an 907 /// Returns the value used to store [key] as a property in the encoding an
911 /// [ObjectValue]. 908 /// [ObjectValue].
912 /// 909 ///
913 /// Different encodings have different restrictions and capabilities as how 910 /// Different encodings have different restrictions and capabilities as how
914 /// to store a [Key] value. For instance: A JSON encoding needs to convert 911 /// to store a [Key] value. For instance: A JSON encoding needs to convert
915 /// [Key] to a [String] to store it in a JSON object; a Dart encoding can 912 /// [Key] to a [String] to store it in a JSON object; a Dart encoding can
916 /// choose to store a [Key] as an [int] or as the [Key] itself. 913 /// choose to store a [Key] as an [int] or as the [Key] itself.
917 getObjectPropertyValue(Key key); 914 getObjectPropertyValue(Key key);
918 } 915 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/serialization/modelz.dart ('k') | tests/compiler/dart2js/serialization_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698