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

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

Issue 2255163002: Support serialization of ambiguous elements. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 4 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 17 matching lines...) Expand all
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 EFFECTIVE_TARGET_IS_MALFORMED = 32 static const Key EFFECTIVE_TARGET_IS_MALFORMED =
33 const Key('effectiveTargetIsMalformed'); 33 const Key('effectiveTargetIsMalformed');
34 static const Key ELEMENT = const Key('element'); 34 static const Key ELEMENT = const Key('element');
35 static const Key ELEMENTS = const Key('elements'); 35 static const Key ELEMENTS = const Key('elements');
36 static const Key ENCLOSING = const Key('enclosing'); 36 static const Key ENCLOSING = const Key('enclosing');
37 static const Key EXECUTABLE_CONTEXT = const Key('executable-context'); 37 static const Key EXECUTABLE_CONTEXT = const Key('executable-context');
38 static const Key EXISTING = const Key('existing');
38 static const Key EXPORTS = const Key('exports'); 39 static const Key EXPORTS = const Key('exports');
39 static const Key EXPORT_SCOPE = const Key('export-scope'); 40 static const Key EXPORT_SCOPE = const Key('export-scope');
40 static const Key EXPRESSION = const Key('expression'); 41 static const Key EXPRESSION = const Key('expression');
41 static const Key FALSE = const Key('false'); 42 static const Key FALSE = const Key('false');
42 static const Key FEATURES = const Key('features'); 43 static const Key FEATURES = const Key('features');
43 static const Key FIELD = const Key('field'); 44 static const Key FIELD = const Key('field');
44 static const Key FIELDS = const Key('fields'); 45 static const Key FIELDS = const Key('fields');
45 static const Key FUNCTION = const Key('function'); 46 static const Key FUNCTION = const Key('function');
46 static const Key GET_OR_SET = const Key('getOrSet'); 47 static const Key GET_OR_SET = const Key('getOrSet');
47 static const Key GETTER = const Key('getter'); 48 static const Key GETTER = const Key('getter');
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 static const Key METADATA = const Key('metadata'); 96 static const Key METADATA = const Key('metadata');
96 static const Key MIXIN = const Key('mixin'); 97 static const Key MIXIN = const Key('mixin');
97 static const Key MIXINS = const Key('mixins'); 98 static const Key MIXINS = const Key('mixins');
98 static const Key NAME = const Key('name'); 99 static const Key NAME = const Key('name');
99 static const Key NAMES = const Key('names'); 100 static const Key NAMES = const Key('names');
100 static const Key NAMED_ARGUMENTS = const Key('named-arguments'); 101 static const Key NAMED_ARGUMENTS = const Key('named-arguments');
101 static const Key NAMED_PARAMETERS = const Key('named-parameters'); 102 static const Key NAMED_PARAMETERS = const Key('named-parameters');
102 static const Key NAMED_PARAMETER_TYPES = const Key('named-parameter-types'); 103 static const Key NAMED_PARAMETER_TYPES = const Key('named-parameter-types');
103 static const Key NATIVE = const Key('native'); 104 static const Key NATIVE = const Key('native');
104 static const Key NESTING_LEVEL = const Key('nestingLevel'); 105 static const Key NESTING_LEVEL = const Key('nestingLevel');
106 static const Key NEW = const Key('new');
105 static const Key NEW_STRUCTURE = const Key('newStructure'); 107 static const Key NEW_STRUCTURE = const Key('newStructure');
106 static const Key NODE = const Key('node'); 108 static const Key NODE = const Key('node');
107 static const Key OFFSET = const Key('offset'); 109 static const Key OFFSET = const Key('offset');
108 static const Key OPERATOR = const Key('operator'); 110 static const Key OPERATOR = const Key('operator');
109 static const Key OPTIONAL_PARAMETER_TYPES = 111 static const Key OPTIONAL_PARAMETER_TYPES =
110 const Key('optional-parameter-types'); 112 const Key('optional-parameter-types');
111 static const Key PARAMETERS = const Key('parameters'); 113 static const Key PARAMETERS = const Key('parameters');
112 static const Key PARAMETER_TYPES = const Key('parameter-types'); 114 static const Key PARAMETER_TYPES = const Key('parameter-types');
113 static const Key PREFIX = const Key('prefix'); 115 static const Key PREFIX = const Key('prefix');
114 static const Key RETURN_TYPE = const Key('return-type'); 116 static const Key RETURN_TYPE = const Key('return-type');
(...skipping 21 matching lines...) Expand all
136 static const Key VALUE = const Key('value'); 138 static const Key VALUE = const Key('value');
137 static const Key VALUES = const Key('values'); 139 static const Key VALUES = const Key('values');
138 static const Key WARNING = const Key('warning'); 140 static const Key WARNING = const Key('warning');
139 141
140 final String name; 142 final String name;
141 143
142 const Key(this.name); 144 const Key(this.name);
143 145
144 String toString() => name; 146 String toString() => name;
145 } 147 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/serialization/element_serialization.dart ('k') | tests/compiler/dart2js/serialization/test_data.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698