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'); |
(...skipping 11 matching lines...) Expand all Loading... |
22 static const Key CONSTANT = const Key('constant'); | 22 static const Key CONSTANT = const Key('constant'); |
23 static const Key CONSTANTS = const Key('constants'); | 23 static const Key CONSTANTS = const Key('constants'); |
24 static const Key CONSTRUCTOR = const Key('constructor'); | 24 static const Key CONSTRUCTOR = const Key('constructor'); |
25 static const Key CONTAINS_TRY = const Key('containsTryStatement'); | 25 static const Key CONTAINS_TRY = const Key('containsTryStatement'); |
26 static const Key DATA = const Key('data'); | 26 static const Key DATA = const Key('data'); |
27 static const Key DEFAULT = const Key('default'); | 27 static const Key DEFAULT = const Key('default'); |
28 static const Key DEFAULTS = const Key('defaults'); | 28 static const Key DEFAULTS = const Key('defaults'); |
29 static const Key DYNAMIC_USES = const Key('dynamic-uses'); | 29 static const Key DYNAMIC_USES = const Key('dynamic-uses'); |
30 static const Key EFFECTIVE_TARGET = const Key('effectiveTarget'); | 30 static const Key EFFECTIVE_TARGET = const Key('effectiveTarget'); |
31 static const Key EFFECTIVE_TARGET_TYPE = const Key('effectiveTargetType'); | 31 static const Key EFFECTIVE_TARGET_TYPE = const Key('effectiveTargetType'); |
| 32 static const Key EFFECTIVE_TARGET_IS_MALFORMED = |
| 33 const Key('effectiveTargetIsMalformed'); |
32 static const Key ELEMENT = const Key('element'); | 34 static const Key ELEMENT = const Key('element'); |
33 static const Key ELEMENTS = const Key('elements'); | 35 static const Key ELEMENTS = const Key('elements'); |
34 static const Key ENCLOSING = const Key('enclosing'); | 36 static const Key ENCLOSING = const Key('enclosing'); |
35 static const Key EXECUTABLE_CONTEXT = const Key('executable-context'); | 37 static const Key EXECUTABLE_CONTEXT = const Key('executable-context'); |
36 static const Key EXPORTS = const Key('exports'); | 38 static const Key EXPORTS = const Key('exports'); |
37 static const Key EXPORT_SCOPE = const Key('export-scope'); | 39 static const Key EXPORT_SCOPE = const Key('export-scope'); |
38 static const Key EXPRESSION = const Key('expression'); | 40 static const Key EXPRESSION = const Key('expression'); |
39 static const Key FALSE = const Key('false'); | 41 static const Key FALSE = const Key('false'); |
40 static const Key FEATURES = const Key('features'); | 42 static const Key FEATURES = const Key('features'); |
41 static const Key FIELD = const Key('field'); | 43 static const Key FIELD = const Key('field'); |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 static const Key URI = const Key('uri'); | 132 static const Key URI = const Key('uri'); |
131 static const Key VALUE = const Key('value'); | 133 static const Key VALUE = const Key('value'); |
132 static const Key VALUES = const Key('values'); | 134 static const Key VALUES = const Key('values'); |
133 | 135 |
134 final String name; | 136 final String name; |
135 | 137 |
136 const Key(this.name); | 138 const Key(this.name); |
137 | 139 |
138 String toString() => name; | 140 String toString() => name; |
139 } | 141 } |
OLD | NEW |