Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(306)

Side by Side Diff: pkg/compiler/lib/src/serialization/keys.dart

Issue 2070493003: Revert "Remove Registry from registerMetadataConstant" and "Serialize metadata" (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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');
63 static const Key IS_NAMED = const Key('isNamed'); 62 static const Key IS_NAMED = const Key('isNamed');
64 static const Key IS_OPERATOR = const Key('isOperator'); 63 static const Key IS_OPERATOR = const Key('isOperator');
65 static const Key IS_OPTIONAL = const Key('isOptional'); 64 static const Key IS_OPTIONAL = const Key('isOptional');
66 static const Key IS_PROXY = const Key('isProxy'); 65 static const Key IS_PROXY = const Key('isProxy');
67 static const Key IS_REDIRECTING = const Key('isRedirecting'); 66 static const Key IS_REDIRECTING = const Key('isRedirecting');
68 static const Key IS_SETTER = const Key('isSetter'); 67 static const Key IS_SETTER = const Key('isSetter');
69 static const Key IS_UNNAMED_MIXIN_APPLICATION = 68 static const Key IS_UNNAMED_MIXIN_APPLICATION =
70 const Key('isUnnamedMixinApplication'); 69 const Key('isUnnamedMixinApplication');
71 static const Key JUMP_TARGET = const Key('jumpTarget'); 70 static const Key JUMP_TARGET = const Key('jumpTarget');
72 static const Key JUMP_TARGETS = const Key('jumpTargets'); 71 static const Key JUMP_TARGETS = const Key('jumpTargets');
73 static const Key JUMP_TARGET_DEFINITION = const Key('jumpTargetDefinition'); 72 static const Key JUMP_TARGET_DEFINITION = const Key('jumpTargetDefinition');
74 static const Key KEYS = const Key('keys'); 73 static const Key KEYS = const Key('keys');
75 static const Key KIND = const Key('kind'); 74 static const Key KIND = const Key('kind');
76 static const Key LABEL_DEFINITION = const Key('labelDefinition'); 75 static const Key LABEL_DEFINITION = const Key('labelDefinition');
77 static const Key LABEL_DEFINITIONS = const Key('labelDefinitions'); 76 static const Key LABEL_DEFINITIONS = const Key('labelDefinitions');
78 static const Key LABELS = const Key('labels'); 77 static const Key LABELS = const Key('labels');
79 static const Key LEFT = const Key('left'); 78 static const Key LEFT = const Key('left');
80 static const Key LENGTH = const Key('length'); 79 static const Key LENGTH = const Key('length');
81 static const Key LIBRARY = const Key('library'); 80 static const Key LIBRARY = const Key('library');
82 static const Key LIBRARY_DEPENDENCY = const Key('library-dependency'); 81 static const Key LIBRARY_DEPENDENCY = const Key('library-dependency');
83 static const Key LIBRARY_NAME = const Key('library-name'); 82 static const Key LIBRARY_NAME = const Key('library-name');
84 static const Key LISTS = const Key('lists'); 83 static const Key LISTS = const Key('lists');
85 static const Key MAPS = const Key('maps'); 84 static const Key MAPS = const Key('maps');
86 static const Key MEMBERS = const Key('members'); 85 static const Key MEMBERS = const Key('members');
87 static const Key METADATA = const Key('metadata');
88 static const Key MIXIN = const Key('mixin'); 86 static const Key MIXIN = const Key('mixin');
89 static const Key MIXINS = const Key('mixins'); 87 static const Key MIXINS = const Key('mixins');
90 static const Key NAME = const Key('name'); 88 static const Key NAME = const Key('name');
91 static const Key NAMES = const Key('names'); 89 static const Key NAMES = const Key('names');
92 static const Key NAMED_ARGUMENTS = const Key('named-arguments'); 90 static const Key NAMED_ARGUMENTS = const Key('named-arguments');
93 static const Key NAMED_PARAMETERS = const Key('named-parameters'); 91 static const Key NAMED_PARAMETERS = const Key('named-parameters');
94 static const Key NAMED_PARAMETER_TYPES = const Key('named-parameter-types'); 92 static const Key NAMED_PARAMETER_TYPES = const Key('named-parameter-types');
95 static const Key NATIVE = const Key('native'); 93 static const Key NATIVE = const Key('native');
96 static const Key NESTING_LEVEL = const Key('nestingLevel'); 94 static const Key NESTING_LEVEL = const Key('nestingLevel');
97 static const Key NEW_STRUCTURE = const Key('newStructure'); 95 static const Key NEW_STRUCTURE = const Key('newStructure');
(...skipping 28 matching lines...) Expand all
126 static const Key URI = const Key('uri'); 124 static const Key URI = const Key('uri');
127 static const Key VALUE = const Key('value'); 125 static const Key VALUE = const Key('value');
128 static const Key VALUES = const Key('values'); 126 static const Key VALUES = const Key('values');
129 127
130 final String name; 128 final String name;
131 129
132 const Key(this.name); 130 const Key(this.name);
133 131
134 String toString() => name; 132 String toString() => name;
135 } 133 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/serialization/equivalence.dart ('k') | pkg/compiler/lib/src/serialization/modelz.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698