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

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

Issue 2125793003: Serialize WarnOnUseElement (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 5 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 static const Key FUNCTION = const Key('function'); 45 static const Key FUNCTION = const Key('function');
46 static const Key GET_OR_SET = const Key('getOrSet'); 46 static const Key GET_OR_SET = const Key('getOrSet');
47 static const Key GETTER = const Key('getter'); 47 static const Key GETTER = const Key('getter');
48 static const Key ID = const Key('id'); 48 static const Key ID = const Key('id');
49 static const Key IMMEDIATE_REDIRECTION_TARGET = 49 static const Key IMMEDIATE_REDIRECTION_TARGET =
50 const Key('immediateRedirectionTarget'); 50 const Key('immediateRedirectionTarget');
51 static const Key IMPACTS = const Key('impacts'); 51 static const Key IMPACTS = const Key('impacts');
52 static const Key IMPORT = const Key('import'); 52 static const Key IMPORT = const Key('import');
53 static const Key IMPORTS = const Key('imports'); 53 static const Key IMPORTS = const Key('imports');
54 static const Key IMPORT_SCOPE = const Key('import-scope'); 54 static const Key IMPORT_SCOPE = const Key('import-scope');
55 static const Key INDEX = const Key('index');
56 static const Key INFO = const Key('info');
55 static const Key INTERFACES = const Key('interfaces'); 57 static const Key INTERFACES = const Key('interfaces');
56 static const Key INDEX = const Key('index');
57 static const Key IS_ABSTRACT = const Key('isAbstract'); 58 static const Key IS_ABSTRACT = const Key('isAbstract');
58 static const Key IS_BREAK_TARGET = const Key('isBreakTarget'); 59 static const Key IS_BREAK_TARGET = const Key('isBreakTarget');
59 static const Key IS_CONST = const Key('isConst'); 60 static const Key IS_CONST = const Key('isConst');
60 static const Key IS_CONTINUE_TARGET = const Key('isContinueTarget'); 61 static const Key IS_CONTINUE_TARGET = const Key('isContinueTarget');
61 static const Key IS_DEFERRED = const Key('isDeferred'); 62 static const Key IS_DEFERRED = const Key('isDeferred');
62 static const Key IS_EMPTY = const Key('isEmpty'); 63 static const Key IS_EMPTY = const Key('isEmpty');
63 static const Key IS_EXTERNAL = const Key('isExternal'); 64 static const Key IS_EXTERNAL = const Key('isExternal');
64 static const Key IS_FINAL = const Key('isFinal'); 65 static const Key IS_FINAL = const Key('isFinal');
65 static const Key IS_INJECTED = const Key('isInjected'); 66 static const Key IS_INJECTED = const Key('isInjected');
66 static const Key IS_METHOD_TYPE_VARIABLE_TYPE = 67 static const Key IS_METHOD_TYPE_VARIABLE_TYPE =
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 const Key('optional-parameter-types'); 109 const Key('optional-parameter-types');
109 static const Key PARAMETERS = const Key('parameters'); 110 static const Key PARAMETERS = const Key('parameters');
110 static const Key PARAMETER_TYPES = const Key('parameter-types'); 111 static const Key PARAMETER_TYPES = const Key('parameter-types');
111 static const Key PREFIX = const Key('prefix'); 112 static const Key PREFIX = const Key('prefix');
112 static const Key RETURN_TYPE = const Key('return-type'); 113 static const Key RETURN_TYPE = const Key('return-type');
113 static const Key RIGHT = const Key('right'); 114 static const Key RIGHT = const Key('right');
114 static const Key SELECTOR = const Key('selector'); 115 static const Key SELECTOR = const Key('selector');
115 static const Key SEMANTICS = const Key('semantics'); 116 static const Key SEMANTICS = const Key('semantics');
116 static const Key SEND_STRUCTURE = const Key('sendStructure'); 117 static const Key SEND_STRUCTURE = const Key('sendStructure');
117 static const Key SETTER = const Key('setter'); 118 static const Key SETTER = const Key('setter');
119 static const Key SOURCE_SPAN = const Key('sourceSpan');
118 static const Key STATIC_USES = const Key('static-uses'); 120 static const Key STATIC_USES = const Key('static-uses');
119 static const Key SUB_KIND = const Key('subKind'); 121 static const Key SUB_KIND = const Key('subKind');
120 static const Key SUPERTYPE = const Key('supertype'); 122 static const Key SUPERTYPE = const Key('supertype');
121 static const Key SUPERTYPES = const Key('supertypes'); 123 static const Key SUPERTYPES = const Key('supertypes');
122 static const Key SYMBOLS = const Key('symbols'); 124 static const Key SYMBOLS = const Key('symbols');
123 static const Key TAGS = const Key('tags'); 125 static const Key TAGS = const Key('tags');
124 static const Key TARGET_LABEL = const Key('targetLabel'); 126 static const Key TARGET_LABEL = const Key('targetLabel');
125 static const Key TRUE = const Key('true'); 127 static const Key TRUE = const Key('true');
126 static const Key TYPE = const Key('type'); 128 static const Key TYPE = const Key('type');
127 static const Key TYPES = const Key('types'); 129 static const Key TYPES = const Key('types');
128 static const Key TYPE_ARGUMENTS = const Key('type-arguments'); 130 static const Key TYPE_ARGUMENTS = const Key('type-arguments');
129 static const Key TYPE_DECLARATION = const Key('type-declaration'); 131 static const Key TYPE_DECLARATION = const Key('type-declaration');
130 static const Key TYPE_USES = const Key('type-uses'); 132 static const Key TYPE_USES = const Key('type-uses');
131 static const Key TYPE_VARIABLES = const Key('type-variables'); 133 static const Key TYPE_VARIABLES = const Key('type-variables');
132 static const Key URI = const Key('uri'); 134 static const Key URI = const Key('uri');
133 static const Key VALUE = const Key('value'); 135 static const Key VALUE = const Key('value');
134 static const Key VALUES = const Key('values'); 136 static const Key VALUES = const Key('values');
137 static const Key WARNING = const Key('warning');
135 138
136 final String name; 139 final String name;
137 140
138 const Key(this.name); 141 const Key(this.name);
139 142
140 String toString() => name; 143 String toString() => name;
141 } 144 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/serialization/equivalence.dart ('k') | pkg/compiler/lib/src/serialization/serialization_util.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698