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

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

Issue 1856953003: Test closed world model after deserialization. (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.keys; 5 library dart2js.serialization.keys;
6 6
7 /// Keys used for serialization. 7 /// Keys used for serialization.
8 class Key { 8 class Key {
9 static const Key ALIAS = const Key('alias'); 9 static const Key ALIAS = const Key('alias');
10 static const Key ARGUMENTS = const Key('arguments'); 10 static const Key ARGUMENTS = const Key('arguments');
11 static const Key BOUND = const Key('bound'); 11 static const Key BOUND = const Key('bound');
12 static const Key CALL_STRUCTURE = const Key('callStructure'); 12 static const Key CALL_STRUCTURE = const Key('callStructure');
13 static const Key CALL_TYPE = const Key('callType');
13 static const Key CANONICAL_URI = const Key('canonicalUri'); 14 static const Key CANONICAL_URI = const Key('canonicalUri');
14 static const Key CLASS = const Key('class'); 15 static const Key CLASS = const Key('class');
15 static const Key COMPILATION_UNIT = const Key('compilation-unit'); 16 static const Key COMPILATION_UNIT = const Key('compilation-unit');
16 static const Key COMPILATION_UNITS = const Key('compilation-units'); 17 static const Key COMPILATION_UNITS = const Key('compilation-units');
17 static const Key CONDITION = const Key('condition'); 18 static const Key CONDITION = const Key('condition');
18 static const Key CONSTANT = const Key('constant'); 19 static const Key CONSTANT = const Key('constant');
19 static const Key CONSTANTS = const Key('constants'); 20 static const Key CONSTANTS = const Key('constants');
20 static const Key CONSTRUCTOR = const Key('constructor'); 21 static const Key CONSTRUCTOR = const Key('constructor');
21 static const Key DATA = const Key('data'); 22 static const Key DATA = const Key('data');
22 static const Key DEFAULT = const Key('default'); 23 static const Key DEFAULT = const Key('default');
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 static const Key URI = const Key('uri'); 95 static const Key URI = const Key('uri');
95 static const Key VALUE = const Key('value'); 96 static const Key VALUE = const Key('value');
96 static const Key VALUES = const Key('values'); 97 static const Key VALUES = const Key('values');
97 98
98 final String name; 99 final String name;
99 100
100 const Key(this.name); 101 const Key(this.name);
101 102
102 String toString() => name; 103 String toString() => name;
103 } 104 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/serialization/equivalence.dart ('k') | pkg/compiler/lib/src/serialization/modelz.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698