| 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 static const Key INTERFACES = const Key('interfaces'); | 52 static const Key INTERFACES = const Key('interfaces'); |
| 53 static const Key INDEX = const Key('index'); | 53 static const Key INDEX = const Key('index'); |
| 54 static const Key IS_ABSTRACT = const Key('isAbstract'); | 54 static const Key IS_ABSTRACT = const Key('isAbstract'); |
| 55 static const Key IS_BREAK_TARGET = const Key('isBreakTarget'); | 55 static const Key IS_BREAK_TARGET = const Key('isBreakTarget'); |
| 56 static const Key IS_CONST = const Key('isConst'); | 56 static const Key IS_CONST = const Key('isConst'); |
| 57 static const Key IS_CONTINUE_TARGET = const Key('isContinueTarget'); | 57 static const Key IS_CONTINUE_TARGET = const Key('isContinueTarget'); |
| 58 static const Key IS_DEFERRED = const Key('isDeferred'); | 58 static const Key IS_DEFERRED = const Key('isDeferred'); |
| 59 static const Key IS_EMPTY = const Key('isEmpty'); | 59 static const Key IS_EMPTY = const Key('isEmpty'); |
| 60 static const Key IS_EXTERNAL = const Key('isExternal'); | 60 static const Key IS_EXTERNAL = const Key('isExternal'); |
| 61 static const Key IS_FINAL = const Key('isFinal'); | 61 static const Key IS_FINAL = const Key('isFinal'); |
| 62 static const Key IS_INJECTED = const Key('isInjected'); |
| 62 static const Key IS_NAMED = const Key('isNamed'); | 63 static const Key IS_NAMED = const Key('isNamed'); |
| 63 static const Key IS_OPERATOR = const Key('isOperator'); | 64 static const Key IS_OPERATOR = const Key('isOperator'); |
| 64 static const Key IS_OPTIONAL = const Key('isOptional'); | 65 static const Key IS_OPTIONAL = const Key('isOptional'); |
| 65 static const Key IS_PROXY = const Key('isProxy'); | 66 static const Key IS_PROXY = const Key('isProxy'); |
| 66 static const Key IS_REDIRECTING = const Key('isRedirecting'); | 67 static const Key IS_REDIRECTING = const Key('isRedirecting'); |
| 67 static const Key IS_SETTER = const Key('isSetter'); | 68 static const Key IS_SETTER = const Key('isSetter'); |
| 68 static const Key IS_UNNAMED_MIXIN_APPLICATION = | 69 static const Key IS_UNNAMED_MIXIN_APPLICATION = |
| 69 const Key('isUnnamedMixinApplication'); | 70 const Key('isUnnamedMixinApplication'); |
| 70 static const Key JUMP_TARGET = const Key('jumpTarget'); | 71 static const Key JUMP_TARGET = const Key('jumpTarget'); |
| 71 static const Key JUMP_TARGETS = const Key('jumpTargets'); | 72 static const Key JUMP_TARGETS = const Key('jumpTargets'); |
| 72 static const Key JUMP_TARGET_DEFINITION = const Key('jumpTargetDefinition'); | 73 static const Key JUMP_TARGET_DEFINITION = const Key('jumpTargetDefinition'); |
| 73 static const Key KEYS = const Key('keys'); | 74 static const Key KEYS = const Key('keys'); |
| 74 static const Key KIND = const Key('kind'); | 75 static const Key KIND = const Key('kind'); |
| 75 static const Key LABEL_DEFINITION = const Key('labelDefinition'); | 76 static const Key LABEL_DEFINITION = const Key('labelDefinition'); |
| 76 static const Key LABEL_DEFINITIONS = const Key('labelDefinitions'); | 77 static const Key LABEL_DEFINITIONS = const Key('labelDefinitions'); |
| 77 static const Key LABELS = const Key('labels'); | 78 static const Key LABELS = const Key('labels'); |
| 78 static const Key LEFT = const Key('left'); | 79 static const Key LEFT = const Key('left'); |
| 79 static const Key LENGTH = const Key('length'); | 80 static const Key LENGTH = const Key('length'); |
| 80 static const Key LIBRARY = const Key('library'); | 81 static const Key LIBRARY = const Key('library'); |
| 81 static const Key LIBRARY_DEPENDENCY = const Key('library-dependency'); | 82 static const Key LIBRARY_DEPENDENCY = const Key('library-dependency'); |
| 82 static const Key LIBRARY_NAME = const Key('library-name'); | 83 static const Key LIBRARY_NAME = const Key('library-name'); |
| 83 static const Key LISTS = const Key('lists'); | 84 static const Key LISTS = const Key('lists'); |
| 84 static const Key MAPS = const Key('maps'); | 85 static const Key MAPS = const Key('maps'); |
| 85 static const Key MEMBERS = const Key('members'); | 86 static const Key MEMBERS = const Key('members'); |
| 87 static const Key METADATA = const Key('metadata'); |
| 86 static const Key MIXIN = const Key('mixin'); | 88 static const Key MIXIN = const Key('mixin'); |
| 87 static const Key MIXINS = const Key('mixins'); | 89 static const Key MIXINS = const Key('mixins'); |
| 88 static const Key NAME = const Key('name'); | 90 static const Key NAME = const Key('name'); |
| 89 static const Key NAMES = const Key('names'); | 91 static const Key NAMES = const Key('names'); |
| 90 static const Key NAMED_ARGUMENTS = const Key('named-arguments'); | 92 static const Key NAMED_ARGUMENTS = const Key('named-arguments'); |
| 91 static const Key NAMED_PARAMETERS = const Key('named-parameters'); | 93 static const Key NAMED_PARAMETERS = const Key('named-parameters'); |
| 92 static const Key NAMED_PARAMETER_TYPES = const Key('named-parameter-types'); | 94 static const Key NAMED_PARAMETER_TYPES = const Key('named-parameter-types'); |
| 93 static const Key NATIVE = const Key('native'); | 95 static const Key NATIVE = const Key('native'); |
| 94 static const Key NESTING_LEVEL = const Key('nestingLevel'); | 96 static const Key NESTING_LEVEL = const Key('nestingLevel'); |
| 95 static const Key NEW_STRUCTURE = const Key('newStructure'); | 97 static const Key NEW_STRUCTURE = const Key('newStructure'); |
| (...skipping 28 matching lines...) Expand all Loading... |
| 124 static const Key URI = const Key('uri'); | 126 static const Key URI = const Key('uri'); |
| 125 static const Key VALUE = const Key('value'); | 127 static const Key VALUE = const Key('value'); |
| 126 static const Key VALUES = const Key('values'); | 128 static const Key VALUES = const Key('values'); |
| 127 | 129 |
| 128 final String name; | 130 final String name; |
| 129 | 131 |
| 130 const Key(this.name); | 132 const Key(this.name); |
| 131 | 133 |
| 132 String toString() => name; | 134 String toString() => name; |
| 133 } | 135 } |
| OLD | NEW |