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.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 ASYNC_MARKER = const Key('asyncMarker'); |
11 static const Key BOUND = const Key('bound'); | 12 static const Key BOUND = const Key('bound'); |
12 static const Key CACHED_TYPE = const Key('cachedType'); | 13 static const Key CACHED_TYPE = const Key('cachedType'); |
13 static const Key CALL_STRUCTURE = const Key('callStructure'); | 14 static const Key CALL_STRUCTURE = const Key('callStructure'); |
14 static const Key CALL_TYPE = const Key('callType'); | 15 static const Key CALL_TYPE = const Key('callType'); |
15 static const Key CANONICAL_URI = const Key('canonicalUri'); | 16 static const Key CANONICAL_URI = const Key('canonicalUri'); |
16 static const Key CLASS = const Key('class'); | 17 static const Key CLASS = const Key('class'); |
17 static const Key COMPILATION_UNIT = const Key('compilation-unit'); | 18 static const Key COMPILATION_UNIT = const Key('compilation-unit'); |
18 static const Key COMPILATION_UNITS = const Key('compilation-units'); | 19 static const Key COMPILATION_UNITS = const Key('compilation-units'); |
19 static const Key CONDITION = const Key('condition'); | 20 static const Key CONDITION = const Key('condition'); |
20 static const Key CONSTANT = const Key('constant'); | 21 static const Key CONSTANT = const Key('constant'); |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 static const Key URI = const Key('uri'); | 116 static const Key URI = const Key('uri'); |
116 static const Key VALUE = const Key('value'); | 117 static const Key VALUE = const Key('value'); |
117 static const Key VALUES = const Key('values'); | 118 static const Key VALUES = const Key('values'); |
118 | 119 |
119 final String name; | 120 final String name; |
120 | 121 |
121 const Key(this.name); | 122 const Key(this.name); |
122 | 123 |
123 String toString() => name; | 124 String toString() => name; |
124 } | 125 } |
OLD | NEW |