| 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 static const Key INDEX = const Key('index'); | 54 static const Key INDEX = const Key('index'); |
| 55 static const Key IS_ABSTRACT = const Key('isAbstract'); | 55 static const Key IS_ABSTRACT = const Key('isAbstract'); |
| 56 static const Key IS_BREAK_TARGET = const Key('isBreakTarget'); | 56 static const Key IS_BREAK_TARGET = const Key('isBreakTarget'); |
| 57 static const Key IS_CONST = const Key('isConst'); | 57 static const Key IS_CONST = const Key('isConst'); |
| 58 static const Key IS_CONTINUE_TARGET = const Key('isContinueTarget'); | 58 static const Key IS_CONTINUE_TARGET = const Key('isContinueTarget'); |
| 59 static const Key IS_DEFERRED = const Key('isDeferred'); | 59 static const Key IS_DEFERRED = const Key('isDeferred'); |
| 60 static const Key IS_EMPTY = const Key('isEmpty'); | 60 static const Key IS_EMPTY = const Key('isEmpty'); |
| 61 static const Key IS_EXTERNAL = const Key('isExternal'); | 61 static const Key IS_EXTERNAL = const Key('isExternal'); |
| 62 static const Key IS_FINAL = const Key('isFinal'); | 62 static const Key IS_FINAL = const Key('isFinal'); |
| 63 static const Key IS_INJECTED = const Key('isInjected'); | 63 static const Key IS_INJECTED = const Key('isInjected'); |
| 64 static const Key IS_METHOD_TYPE_VARIABLE_TYPE = |
| 65 const Key('isMethodTypeVariableType'); |
| 64 static const Key IS_NAMED = const Key('isNamed'); | 66 static const Key IS_NAMED = const Key('isNamed'); |
| 65 static const Key IS_OPERATOR = const Key('isOperator'); | 67 static const Key IS_OPERATOR = const Key('isOperator'); |
| 66 static const Key IS_OPTIONAL = const Key('isOptional'); | 68 static const Key IS_OPTIONAL = const Key('isOptional'); |
| 67 static const Key IS_PROXY = const Key('isProxy'); | 69 static const Key IS_PROXY = const Key('isProxy'); |
| 68 static const Key IS_REDIRECTING = const Key('isRedirecting'); | 70 static const Key IS_REDIRECTING = const Key('isRedirecting'); |
| 69 static const Key IS_SETTER = const Key('isSetter'); | 71 static const Key IS_SETTER = const Key('isSetter'); |
| 70 static const Key IS_UNNAMED_MIXIN_APPLICATION = | 72 static const Key IS_UNNAMED_MIXIN_APPLICATION = |
| 71 const Key('isUnnamedMixinApplication'); | 73 const Key('isUnnamedMixinApplication'); |
| 72 static const Key JUMP_TARGET = const Key('jumpTarget'); | 74 static const Key JUMP_TARGET = const Key('jumpTarget'); |
| 73 static const Key JUMP_TARGETS = const Key('jumpTargets'); | 75 static const Key JUMP_TARGETS = const Key('jumpTargets'); |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 static const Key URI = const Key('uri'); | 130 static const Key URI = const Key('uri'); |
| 129 static const Key VALUE = const Key('value'); | 131 static const Key VALUE = const Key('value'); |
| 130 static const Key VALUES = const Key('values'); | 132 static const Key VALUES = const Key('values'); |
| 131 | 133 |
| 132 final String name; | 134 final String name; |
| 133 | 135 |
| 134 const Key(this.name); | 136 const Key(this.name); |
| 135 | 137 |
| 136 String toString() => name; | 138 String toString() => name; |
| 137 } | 139 } |
| OLD | NEW |