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

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

Issue 1924053003: Serialize more properties of ConstructorElement. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: dartfmt Created 4 years, 7 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');
11 static const Key ASYNC_MARKER = const Key('asyncMarker'); 11 static const Key ASYNC_MARKER = const Key('asyncMarker');
12 static const Key BODY = const Key('body'); 12 static const Key BODY = const Key('body');
13 static const Key BOUND = const Key('bound'); 13 static const Key BOUND = const Key('bound');
14 static const Key CACHED_TYPE = const Key('cachedType'); 14 static const Key CACHED_TYPE = const Key('cachedType');
15 static const Key CALL_STRUCTURE = const Key('callStructure'); 15 static const Key CALL_STRUCTURE = const Key('callStructure');
16 static const Key CALL_TYPE = const Key('callType'); 16 static const Key CALL_TYPE = const Key('callType');
17 static const Key CANONICAL_URI = const Key('canonicalUri'); 17 static const Key CANONICAL_URI = const Key('canonicalUri');
18 static const Key CLASS = const Key('class'); 18 static const Key CLASS = const Key('class');
19 static const Key COMPILATION_UNIT = const Key('compilation-unit'); 19 static const Key COMPILATION_UNIT = const Key('compilation-unit');
20 static const Key COMPILATION_UNITS = const Key('compilation-units'); 20 static const Key COMPILATION_UNITS = const Key('compilation-units');
21 static const Key CONDITION = const Key('condition'); 21 static const Key CONDITION = const Key('condition');
22 static const Key CONSTANT = const Key('constant'); 22 static const Key CONSTANT = const Key('constant');
23 static const Key CONSTANTS = const Key('constants'); 23 static const Key CONSTANTS = const Key('constants');
24 static const Key CONSTRUCTOR = const Key('constructor'); 24 static const Key CONSTRUCTOR = const Key('constructor');
25 static const Key DATA = const Key('data'); 25 static const Key DATA = const Key('data');
26 static const Key DEFAULT = const Key('default'); 26 static const Key DEFAULT = const Key('default');
27 static const Key DEFAULTS = const Key('defaults'); 27 static const Key DEFAULTS = const Key('defaults');
28 static const Key DEFINING_CONSTRUCTOR = const Key('definingConstructor');
28 static const Key DYNAMIC_USES = const Key('dynamic-uses'); 29 static const Key DYNAMIC_USES = const Key('dynamic-uses');
30 static const Key EFFECTIVE_TARGET = const Key('effectiveTarget');
31 static const Key EFFECTIVE_TARGET_TYPE = const Key('effectiveTargetType');
29 static const Key ELEMENT = const Key('element'); 32 static const Key ELEMENT = const Key('element');
30 static const Key ELEMENTS = const Key('elements'); 33 static const Key ELEMENTS = const Key('elements');
31 static const Key EXECUTABLE_CONTEXT = const Key('executable-context'); 34 static const Key EXECUTABLE_CONTEXT = const Key('executable-context');
32 static const Key EXPORTS = const Key('exports'); 35 static const Key EXPORTS = const Key('exports');
33 static const Key EXPORT_SCOPE = const Key('export-scope'); 36 static const Key EXPORT_SCOPE = const Key('export-scope');
34 static const Key EXPRESSION = const Key('expression'); 37 static const Key EXPRESSION = const Key('expression');
35 static const Key FALSE = const Key('false'); 38 static const Key FALSE = const Key('false');
36 static const Key FEATURES = const Key('features'); 39 static const Key FEATURES = const Key('features');
37 static const Key FIELD = const Key('field'); 40 static const Key FIELD = const Key('field');
38 static const Key FIELDS = const Key('fields'); 41 static const Key FIELDS = const Key('fields');
39 static const Key FUNCTION = const Key('function'); 42 static const Key FUNCTION = const Key('function');
40 static const Key GET_OR_SET = const Key('getOrSet'); 43 static const Key GET_OR_SET = const Key('getOrSet');
41 static const Key GETTER = const Key('getter'); 44 static const Key GETTER = const Key('getter');
42 static const Key ID = const Key('id'); 45 static const Key ID = const Key('id');
46 static const Key IMMEDIATE_REDIRECTION_TARGET =
47 const Key('immediateRedirectionTarget');
43 static const Key IMPACTS = const Key('impacts'); 48 static const Key IMPACTS = const Key('impacts');
44 static const Key IMPORT = const Key('import'); 49 static const Key IMPORT = const Key('import');
45 static const Key IMPORTS = const Key('imports'); 50 static const Key IMPORTS = const Key('imports');
46 static const Key IMPORT_SCOPE = const Key('import-scope'); 51 static const Key IMPORT_SCOPE = const Key('import-scope');
47 static const Key INTERFACES = const Key('interfaces'); 52 static const Key INTERFACES = const Key('interfaces');
48 static const Key INDEX = const Key('index'); 53 static const Key INDEX = const Key('index');
49 static const Key IS_ABSTRACT = const Key('isAbstract'); 54 static const Key IS_ABSTRACT = const Key('isAbstract');
50 static const Key IS_BREAK_TARGET = const Key('isBreakTarget'); 55 static const Key IS_BREAK_TARGET = const Key('isBreakTarget');
51 static const Key IS_CONST = const Key('isConst'); 56 static const Key IS_CONST = const Key('isConst');
52 static const Key IS_CONTINUE_TARGET = const Key('isContinueTarget'); 57 static const Key IS_CONTINUE_TARGET = const Key('isContinueTarget');
53 static const Key IS_DEFERRED = const Key('isDeferred'); 58 static const Key IS_DEFERRED = const Key('isDeferred');
54 static const Key IS_EMPTY = const Key('isEmpty'); 59 static const Key IS_EMPTY = const Key('isEmpty');
55 static const Key IS_EXTERNAL = const Key('isExternal'); 60 static const Key IS_EXTERNAL = const Key('isExternal');
56 static const Key IS_FINAL = const Key('isFinal'); 61 static const Key IS_FINAL = const Key('isFinal');
57 static const Key IS_NAMED = const Key('isNamed'); 62 static const Key IS_NAMED = const Key('isNamed');
58 static const Key IS_OPERATOR = const Key('isOperator'); 63 static const Key IS_OPERATOR = const Key('isOperator');
59 static const Key IS_OPTIONAL = const Key('isOptional'); 64 static const Key IS_OPTIONAL = const Key('isOptional');
60 static const Key IS_PROXY = const Key('isProxy'); 65 static const Key IS_PROXY = const Key('isProxy');
66 static const Key IS_REDIRECTING = const Key('isRedirecting');
61 static const Key IS_SETTER = const Key('isSetter'); 67 static const Key IS_SETTER = const Key('isSetter');
62 static const Key IS_UNNAMED_MIXIN_APPLICATION = 68 static const Key IS_UNNAMED_MIXIN_APPLICATION =
63 const Key('isUnnamedMixinApplication'); 69 const Key('isUnnamedMixinApplication');
64 static const Key JUMP_TARGET = const Key('jumpTarget'); 70 static const Key JUMP_TARGET = const Key('jumpTarget');
65 static const Key JUMP_TARGETS = const Key('jumpTargets'); 71 static const Key JUMP_TARGETS = const Key('jumpTargets');
66 static const Key JUMP_TARGET_DEFINITION = const Key('jumpTargetDefinition'); 72 static const Key JUMP_TARGET_DEFINITION = const Key('jumpTargetDefinition');
67 static const Key KEYS = const Key('keys'); 73 static const Key KEYS = const Key('keys');
68 static const Key KIND = const Key('kind'); 74 static const Key KIND = const Key('kind');
69 static const Key LABEL_DEFINITION = const Key('labelDefinition'); 75 static const Key LABEL_DEFINITION = const Key('labelDefinition');
70 static const Key LABEL_DEFINITIONS = const Key('labelDefinitions'); 76 static const Key LABEL_DEFINITIONS = const Key('labelDefinitions');
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 static const Key URI = const Key('uri'); 124 static const Key URI = const Key('uri');
119 static const Key VALUE = const Key('value'); 125 static const Key VALUE = const Key('value');
120 static const Key VALUES = const Key('values'); 126 static const Key VALUES = const Key('values');
121 127
122 final String name; 128 final String name;
123 129
124 const Key(this.name); 130 const Key(this.name);
125 131
126 String toString() => name; 132 String toString() => name;
127 } 133 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698