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

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

Issue 1873573004: Serialize TreeElements (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Check only the last test to avoid timeout. Created 4 years, 8 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 BOUND = const Key('bound'); 11 static const Key BOUND = const Key('bound');
12 static const Key CACHED_TYPE = const Key('cachedType');
12 static const Key CALL_STRUCTURE = const Key('callStructure'); 13 static const Key CALL_STRUCTURE = const Key('callStructure');
13 static const Key CALL_TYPE = const Key('callType'); 14 static const Key CALL_TYPE = const Key('callType');
14 static const Key CANONICAL_URI = const Key('canonicalUri'); 15 static const Key CANONICAL_URI = const Key('canonicalUri');
15 static const Key CLASS = const Key('class'); 16 static const Key CLASS = const Key('class');
16 static const Key COMPILATION_UNIT = const Key('compilation-unit'); 17 static const Key COMPILATION_UNIT = const Key('compilation-unit');
17 static const Key COMPILATION_UNITS = const Key('compilation-units'); 18 static const Key COMPILATION_UNITS = const Key('compilation-units');
18 static const Key CONDITION = const Key('condition'); 19 static const Key CONDITION = const Key('condition');
19 static const Key CONSTANT = const Key('constant'); 20 static const Key CONSTANT = const Key('constant');
20 static const Key CONSTANTS = const Key('constants'); 21 static const Key CONSTANTS = const Key('constants');
21 static const Key CONSTRUCTOR = const Key('constructor'); 22 static const Key CONSTRUCTOR = const Key('constructor');
22 static const Key DATA = const Key('data'); 23 static const Key DATA = const Key('data');
23 static const Key DEFAULT = const Key('default'); 24 static const Key DEFAULT = const Key('default');
24 static const Key DEFAULTS = const Key('defaults'); 25 static const Key DEFAULTS = const Key('defaults');
25 static const Key DYNAMIC_USES = const Key('dynamic-uses'); 26 static const Key DYNAMIC_USES = const Key('dynamic-uses');
26 static const Key ELEMENT = const Key('element'); 27 static const Key ELEMENT = const Key('element');
27 static const Key ELEMENTS = const Key('elements'); 28 static const Key ELEMENTS = const Key('elements');
28 static const Key EXECUTABLE_CONTEXT = const Key('executable-context'); 29 static const Key EXECUTABLE_CONTEXT = const Key('executable-context');
29 static const Key EXPORTS = const Key('exports'); 30 static const Key EXPORTS = const Key('exports');
30 static const Key EXPORT_SCOPE = const Key('export-scope'); 31 static const Key EXPORT_SCOPE = const Key('export-scope');
31 static const Key EXPRESSION = const Key('expression'); 32 static const Key EXPRESSION = const Key('expression');
32 static const Key FALSE = const Key('false'); 33 static const Key FALSE = const Key('false');
33 static const Key FEATURES = const Key('features'); 34 static const Key FEATURES = const Key('features');
34 static const Key FIELD = const Key('field'); 35 static const Key FIELD = const Key('field');
35 static const Key FIELDS = const Key('fields'); 36 static const Key FIELDS = const Key('fields');
36 static const Key FUNCTION = const Key('function'); 37 static const Key FUNCTION = const Key('function');
38 static const Key GET_OR_SET = const Key('getOrSet');
39 static const Key GETTER = const Key('getter');
37 static const Key ID = const Key('id'); 40 static const Key ID = const Key('id');
38 static const Key IMPACTS = const Key('impacts'); 41 static const Key IMPACTS = const Key('impacts');
39 static const Key IMPORT = const Key('import'); 42 static const Key IMPORT = const Key('import');
40 static const Key IMPORTS = const Key('imports'); 43 static const Key IMPORTS = const Key('imports');
41 static const Key IMPORT_SCOPE = const Key('import-scope'); 44 static const Key IMPORT_SCOPE = const Key('import-scope');
42 static const Key INTERFACES = const Key('interfaces'); 45 static const Key INTERFACES = const Key('interfaces');
43 static const Key INDEX = const Key('index'); 46 static const Key INDEX = const Key('index');
44 static const Key IS_ABSTRACT = const Key('isAbstract'); 47 static const Key IS_ABSTRACT = const Key('isAbstract');
45 static const Key IS_CONST = const Key('isConst'); 48 static const Key IS_CONST = const Key('isConst');
46 static const Key IS_DEFERRED = const Key('isDeferred'); 49 static const Key IS_DEFERRED = const Key('isDeferred');
(...skipping 17 matching lines...) Expand all
64 static const Key LISTS = const Key('lists'); 67 static const Key LISTS = const Key('lists');
65 static const Key MAPS = const Key('maps'); 68 static const Key MAPS = const Key('maps');
66 static const Key MEMBERS = const Key('members'); 69 static const Key MEMBERS = const Key('members');
67 static const Key MIXIN = const Key('mixin'); 70 static const Key MIXIN = const Key('mixin');
68 static const Key MIXINS = const Key('mixins'); 71 static const Key MIXINS = const Key('mixins');
69 static const Key NAME = const Key('name'); 72 static const Key NAME = const Key('name');
70 static const Key NAMES = const Key('names'); 73 static const Key NAMES = const Key('names');
71 static const Key NAMED_ARGUMENTS = const Key('named-arguments'); 74 static const Key NAMED_ARGUMENTS = const Key('named-arguments');
72 static const Key NAMED_PARAMETERS = const Key('named-parameters'); 75 static const Key NAMED_PARAMETERS = const Key('named-parameters');
73 static const Key NAMED_PARAMETER_TYPES = const Key('named-parameter-types'); 76 static const Key NAMED_PARAMETER_TYPES = const Key('named-parameter-types');
77 static const Key NEW_STRUCTURE = const Key('newStructure');
74 static const Key OFFSET = const Key('offset'); 78 static const Key OFFSET = const Key('offset');
75 static const Key OPERATOR = const Key('operator'); 79 static const Key OPERATOR = const Key('operator');
76 static const Key OPTIONAL_PARAMETER_TYPES = 80 static const Key OPTIONAL_PARAMETER_TYPES =
77 const Key('optional-parameter-types'); 81 const Key('optional-parameter-types');
78 static const Key PARAMETERS = const Key('parameters'); 82 static const Key PARAMETERS = const Key('parameters');
79 static const Key PARAMETER_TYPES = const Key('parameter-types'); 83 static const Key PARAMETER_TYPES = const Key('parameter-types');
80 static const Key PREFIX = const Key('prefix'); 84 static const Key PREFIX = const Key('prefix');
81 static const Key RETURN_TYPE = const Key('return-type'); 85 static const Key RETURN_TYPE = const Key('return-type');
82 static const Key RIGHT = const Key('right'); 86 static const Key RIGHT = const Key('right');
87 static const Key SELECTOR = const Key('selector');
88 static const Key SEMANTICS = const Key('semantics');
89 static const Key SEND_STRUCTURE = const Key('sendStructure');
90 static const Key SETTER = const Key('setter');
83 static const Key STATIC_USES = const Key('static-uses'); 91 static const Key STATIC_USES = const Key('static-uses');
92 static const Key SUB_KIND = const Key('subKind');
84 static const Key SUPERTYPE = const Key('supertype'); 93 static const Key SUPERTYPE = const Key('supertype');
85 static const Key SUPERTYPES = const Key('supertypes'); 94 static const Key SUPERTYPES = const Key('supertypes');
86 static const Key SYMBOLS = const Key('symbols'); 95 static const Key SYMBOLS = const Key('symbols');
87 static const Key TAGS = const Key('tags'); 96 static const Key TAGS = const Key('tags');
88 static const Key TRUE = const Key('true'); 97 static const Key TRUE = const Key('true');
89 static const Key TYPE = const Key('type'); 98 static const Key TYPE = const Key('type');
90 static const Key TYPES = const Key('types'); 99 static const Key TYPES = const Key('types');
91 static const Key TYPE_ARGUMENTS = const Key('type-arguments'); 100 static const Key TYPE_ARGUMENTS = const Key('type-arguments');
92 static const Key TYPE_DECLARATION = const Key('type-declaration'); 101 static const Key TYPE_DECLARATION = const Key('type-declaration');
93 static const Key TYPE_USES = const Key('type-uses'); 102 static const Key TYPE_USES = const Key('type-uses');
94 static const Key TYPE_VARIABLES = const Key('type-variables'); 103 static const Key TYPE_VARIABLES = const Key('type-variables');
95 static const Key URI = const Key('uri'); 104 static const Key URI = const Key('uri');
96 static const Key VALUE = const Key('value'); 105 static const Key VALUE = const Key('value');
97 static const Key VALUES = const Key('values'); 106 static const Key VALUES = const Key('values');
98 107
99 final String name; 108 final String name;
100 109
101 const Key(this.name); 110 const Key(this.name);
102 111
103 String toString() => name; 112 String toString() => name;
104 } 113 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/serialization/impact_serialization.dart ('k') | pkg/compiler/lib/src/serialization/modelz.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698