| 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 25 matching lines...) Expand all Loading... |
| 36 static const Key INTERFACES = const Key('interfaces'); | 36 static const Key INTERFACES = const Key('interfaces'); |
| 37 static const Key INDEX = const Key('index'); | 37 static const Key INDEX = const Key('index'); |
| 38 static const Key IS_ABSTRACT = const Key('isAbstract'); | 38 static const Key IS_ABSTRACT = const Key('isAbstract'); |
| 39 static const Key IS_CONST = const Key('isConst'); | 39 static const Key IS_CONST = const Key('isConst'); |
| 40 static const Key IS_DEFERRED = const Key('isDeferred'); | 40 static const Key IS_DEFERRED = const Key('isDeferred'); |
| 41 static const Key IS_EXTERNAL = const Key('isExternal'); | 41 static const Key IS_EXTERNAL = const Key('isExternal'); |
| 42 static const Key IS_FINAL = const Key('isFinal'); | 42 static const Key IS_FINAL = const Key('isFinal'); |
| 43 static const Key IS_NAMED = const Key('isNamed'); | 43 static const Key IS_NAMED = const Key('isNamed'); |
| 44 static const Key IS_OPERATOR = const Key('isOperator'); | 44 static const Key IS_OPERATOR = const Key('isOperator'); |
| 45 static const Key IS_OPTIONAL = const Key('isOptional'); | 45 static const Key IS_OPTIONAL = const Key('isOptional'); |
| 46 static const Key IS_UNNAMED_MIXIN_APPLICATION = |
| 47 const Key('isUnnamedMixinApplication'); |
| 46 static const Key KEYS = const Key('keys'); | 48 static const Key KEYS = const Key('keys'); |
| 47 static const Key KIND = const Key('kind'); | 49 static const Key KIND = const Key('kind'); |
| 48 static const Key LEFT = const Key('left'); | 50 static const Key LEFT = const Key('left'); |
| 49 static const Key LENGTH = const Key('length'); | 51 static const Key LENGTH = const Key('length'); |
| 50 static const Key LIBRARY = const Key('library'); | 52 static const Key LIBRARY = const Key('library'); |
| 51 static const Key LIBRARY_DEPENDENCY = const Key('library-dependency'); | 53 static const Key LIBRARY_DEPENDENCY = const Key('library-dependency'); |
| 52 static const Key LIBRARY_NAME = const Key('library-name'); | 54 static const Key LIBRARY_NAME = const Key('library-name'); |
| 53 static const Key MEMBERS = const Key('members'); | 55 static const Key MEMBERS = const Key('members'); |
| 54 static const Key NAME = const Key('name'); | 56 static const Key NAME = const Key('name'); |
| 55 static const Key NAMES = const Key('names'); | 57 static const Key NAMES = const Key('names'); |
| (...skipping 21 matching lines...) Expand all Loading... |
| 77 static const Key URI = const Key('uri'); | 79 static const Key URI = const Key('uri'); |
| 78 static const Key VALUE = const Key('value'); | 80 static const Key VALUE = const Key('value'); |
| 79 static const Key VALUES = const Key('values'); | 81 static const Key VALUES = const Key('values'); |
| 80 | 82 |
| 81 final String name; | 83 final String name; |
| 82 | 84 |
| 83 const Key(this.name); | 85 const Key(this.name); |
| 84 | 86 |
| 85 String toString() => name; | 87 String toString() => name; |
| 86 } | 88 } |
| OLD | NEW |