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

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

Issue 2088233003: Serialize erroneous element and more (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Updated cf. comments. 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 13 matching lines...) Expand all
24 static const Key CONSTRUCTOR = const Key('constructor'); 24 static const Key CONSTRUCTOR = const Key('constructor');
25 static const Key CONTAINS_TRY = const Key('containsTryStatement'); 25 static const Key CONTAINS_TRY = const Key('containsTryStatement');
26 static const Key DATA = const Key('data'); 26 static const Key DATA = const Key('data');
27 static const Key DEFAULT = const Key('default'); 27 static const Key DEFAULT = const Key('default');
28 static const Key DEFAULTS = const Key('defaults'); 28 static const Key DEFAULTS = const Key('defaults');
29 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'); 30 static const Key EFFECTIVE_TARGET = const Key('effectiveTarget');
31 static const Key EFFECTIVE_TARGET_TYPE = const Key('effectiveTargetType'); 31 static const Key EFFECTIVE_TARGET_TYPE = const Key('effectiveTargetType');
32 static const Key ELEMENT = const Key('element'); 32 static const Key ELEMENT = const Key('element');
33 static const Key ELEMENTS = const Key('elements'); 33 static const Key ELEMENTS = const Key('elements');
34 static const Key ENCLOSING = const Key('enclosing');
34 static const Key EXECUTABLE_CONTEXT = const Key('executable-context'); 35 static const Key EXECUTABLE_CONTEXT = const Key('executable-context');
35 static const Key EXPORTS = const Key('exports'); 36 static const Key EXPORTS = const Key('exports');
36 static const Key EXPORT_SCOPE = const Key('export-scope'); 37 static const Key EXPORT_SCOPE = const Key('export-scope');
37 static const Key EXPRESSION = const Key('expression'); 38 static const Key EXPRESSION = const Key('expression');
38 static const Key FALSE = const Key('false'); 39 static const Key FALSE = const Key('false');
39 static const Key FEATURES = const Key('features'); 40 static const Key FEATURES = const Key('features');
40 static const Key FIELD = const Key('field'); 41 static const Key FIELD = const Key('field');
41 static const Key FIELDS = const Key('fields'); 42 static const Key FIELDS = const Key('fields');
42 static const Key FUNCTION = const Key('function'); 43 static const Key FUNCTION = const Key('function');
43 static const Key GET_OR_SET = const Key('getOrSet'); 44 static const Key GET_OR_SET = const Key('getOrSet');
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 static const Key LABEL_DEFINITIONS = const Key('labelDefinitions'); 78 static const Key LABEL_DEFINITIONS = const Key('labelDefinitions');
78 static const Key LABELS = const Key('labels'); 79 static const Key LABELS = const Key('labels');
79 static const Key LEFT = const Key('left'); 80 static const Key LEFT = const Key('left');
80 static const Key LENGTH = const Key('length'); 81 static const Key LENGTH = const Key('length');
81 static const Key LIBRARY = const Key('library'); 82 static const Key LIBRARY = const Key('library');
82 static const Key LIBRARY_DEPENDENCY = const Key('library-dependency'); 83 static const Key LIBRARY_DEPENDENCY = const Key('library-dependency');
83 static const Key LIBRARY_NAME = const Key('library-name'); 84 static const Key LIBRARY_NAME = const Key('library-name');
84 static const Key LISTS = const Key('lists'); 85 static const Key LISTS = const Key('lists');
85 static const Key MAPS = const Key('maps'); 86 static const Key MAPS = const Key('maps');
86 static const Key MEMBERS = const Key('members'); 87 static const Key MEMBERS = const Key('members');
88 static const Key MESSAGE_KIND = const Key('messageKind');
87 static const Key METADATA = const Key('metadata'); 89 static const Key METADATA = const Key('metadata');
88 static const Key MIXIN = const Key('mixin'); 90 static const Key MIXIN = const Key('mixin');
89 static const Key MIXINS = const Key('mixins'); 91 static const Key MIXINS = const Key('mixins');
90 static const Key NAME = const Key('name'); 92 static const Key NAME = const Key('name');
91 static const Key NAMES = const Key('names'); 93 static const Key NAMES = const Key('names');
92 static const Key NAMED_ARGUMENTS = const Key('named-arguments'); 94 static const Key NAMED_ARGUMENTS = const Key('named-arguments');
93 static const Key NAMED_PARAMETERS = const Key('named-parameters'); 95 static const Key NAMED_PARAMETERS = const Key('named-parameters');
94 static const Key NAMED_PARAMETER_TYPES = const Key('named-parameter-types'); 96 static const Key NAMED_PARAMETER_TYPES = const Key('named-parameter-types');
95 static const Key NATIVE = const Key('native'); 97 static const Key NATIVE = const Key('native');
96 static const Key NESTING_LEVEL = const Key('nestingLevel'); 98 static const Key NESTING_LEVEL = const Key('nestingLevel');
(...skipping 29 matching lines...) Expand all
126 static const Key URI = const Key('uri'); 128 static const Key URI = const Key('uri');
127 static const Key VALUE = const Key('value'); 129 static const Key VALUE = const Key('value');
128 static const Key VALUES = const Key('values'); 130 static const Key VALUES = const Key('values');
129 131
130 final String name; 132 final String name;
131 133
132 const Key(this.name); 134 const Key(this.name);
133 135
134 String toString() => name; 136 String toString() => name;
135 } 137 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698