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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 static const Key FIELDS = const Key('fields'); | 44 static const Key FIELDS = const Key('fields'); |
45 static const Key FUNCTION = const Key('function'); | 45 static const Key FUNCTION = const Key('function'); |
46 static const Key GET_OR_SET = const Key('getOrSet'); | 46 static const Key GET_OR_SET = const Key('getOrSet'); |
47 static const Key GETTER = const Key('getter'); | 47 static const Key GETTER = const Key('getter'); |
48 static const Key ID = const Key('id'); | 48 static const Key ID = const Key('id'); |
49 static const Key IMMEDIATE_REDIRECTION_TARGET = | 49 static const Key IMMEDIATE_REDIRECTION_TARGET = |
50 const Key('immediateRedirectionTarget'); | 50 const Key('immediateRedirectionTarget'); |
51 static const Key IMPACTS = const Key('impacts'); | 51 static const Key IMPACTS = const Key('impacts'); |
52 static const Key IMPORT = const Key('import'); | 52 static const Key IMPORT = const Key('import'); |
53 static const Key IMPORTS = const Key('imports'); | 53 static const Key IMPORTS = const Key('imports'); |
| 54 static const Key IMPORTS_FOR = const Key('importsFor'); |
54 static const Key IMPORT_SCOPE = const Key('import-scope'); | 55 static const Key IMPORT_SCOPE = const Key('import-scope'); |
55 static const Key INDEX = const Key('index'); | 56 static const Key INDEX = const Key('index'); |
56 static const Key INFO = const Key('info'); | 57 static const Key INFO = const Key('info'); |
57 static const Key INTERFACES = const Key('interfaces'); | 58 static const Key INTERFACES = const Key('interfaces'); |
58 static const Key IS_ABSTRACT = const Key('isAbstract'); | 59 static const Key IS_ABSTRACT = const Key('isAbstract'); |
59 static const Key IS_BREAK_TARGET = const Key('isBreakTarget'); | 60 static const Key IS_BREAK_TARGET = const Key('isBreakTarget'); |
60 static const Key IS_CONST = const Key('isConst'); | 61 static const Key IS_CONST = const Key('isConst'); |
61 static const Key IS_CONTINUE_TARGET = const Key('isContinueTarget'); | 62 static const Key IS_CONTINUE_TARGET = const Key('isContinueTarget'); |
62 static const Key IS_DEFERRED = const Key('isDeferred'); | 63 static const Key IS_DEFERRED = const Key('isDeferred'); |
63 static const Key IS_EMPTY = const Key('isEmpty'); | 64 static const Key IS_EMPTY = const Key('isEmpty'); |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 static const Key VALUE = const Key('value'); | 136 static const Key VALUE = const Key('value'); |
136 static const Key VALUES = const Key('values'); | 137 static const Key VALUES = const Key('values'); |
137 static const Key WARNING = const Key('warning'); | 138 static const Key WARNING = const Key('warning'); |
138 | 139 |
139 final String name; | 140 final String name; |
140 | 141 |
141 const Key(this.name); | 142 const Key(this.name); |
142 | 143 |
143 String toString() => name; | 144 String toString() => name; |
144 } | 145 } |
OLD | NEW |