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 1809533004: Support serialization of WorldImpact (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Updated cf. comments + cleanup. Created 4 years, 9 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 CALL_STRUCTURE = const Key('callStructure'); 12 static const Key CALL_STRUCTURE = const Key('callStructure');
13 static const Key CANONICAL_URI = const Key('canonicalUri'); 13 static const Key CANONICAL_URI = const Key('canonicalUri');
14 static const Key CLASS = const Key('class'); 14 static const Key CLASS = const Key('class');
15 static const Key COMPILATION_UNIT = const Key('compilation-unit'); 15 static const Key COMPILATION_UNIT = const Key('compilation-unit');
16 static const Key COMPILATION_UNITS = const Key('compilation-units'); 16 static const Key COMPILATION_UNITS = const Key('compilation-units');
17 static const Key CONDITION = const Key('condition'); 17 static const Key CONDITION = const Key('condition');
18 static const Key CONSTANT = const Key('constant'); 18 static const Key CONSTANT = const Key('constant');
19 static const Key CONSTANTS = const Key('constants'); 19 static const Key CONSTANTS = const Key('constants');
20 static const Key CONSTRUCTOR = const Key('constructor'); 20 static const Key CONSTRUCTOR = const Key('constructor');
21 static const Key DATA = const Key('data');
21 static const Key DEFAULT = const Key('default'); 22 static const Key DEFAULT = const Key('default');
22 static const Key DEFAULTS = const Key('defaults'); 23 static const Key DEFAULTS = const Key('defaults');
24 static const Key DYNAMIC_USES = const Key('dynamic-uses');
23 static const Key ELEMENT = const Key('element'); 25 static const Key ELEMENT = const Key('element');
24 static const Key ELEMENTS = const Key('elements'); 26 static const Key ELEMENTS = const Key('elements');
27 static const Key EXECUTABLE_CONTEXT = const Key('executable-context');
25 static const Key EXPORTS = const Key('exports'); 28 static const Key EXPORTS = const Key('exports');
26 static const Key EXPORT_SCOPE = const Key('export-scope'); 29 static const Key EXPORT_SCOPE = const Key('export-scope');
27 static const Key EXPRESSION = const Key('expression'); 30 static const Key EXPRESSION = const Key('expression');
28 static const Key FALSE = const Key('false'); 31 static const Key FALSE = const Key('false');
29 static const Key FIELD = const Key('field'); 32 static const Key FIELD = const Key('field');
30 static const Key FIELDS = const Key('fields'); 33 static const Key FIELDS = const Key('fields');
31 static const Key FUNCTION = const Key('function'); 34 static const Key FUNCTION = const Key('function');
32 static const Key ID = const Key('id'); 35 static const Key ID = const Key('id');
36 static const Key IMPACTS = const Key('impacts');
33 static const Key IMPORT = const Key('import'); 37 static const Key IMPORT = const Key('import');
34 static const Key IMPORTS = const Key('imports'); 38 static const Key IMPORTS = const Key('imports');
35 static const Key IMPORT_SCOPE = const Key('import-scope'); 39 static const Key IMPORT_SCOPE = const Key('import-scope');
36 static const Key INTERFACES = const Key('interfaces'); 40 static const Key INTERFACES = const Key('interfaces');
37 static const Key INDEX = const Key('index'); 41 static const Key INDEX = const Key('index');
38 static const Key IS_ABSTRACT = const Key('isAbstract'); 42 static const Key IS_ABSTRACT = const Key('isAbstract');
39 static const Key IS_CONST = const Key('isConst'); 43 static const Key IS_CONST = const Key('isConst');
40 static const Key IS_DEFERRED = const Key('isDeferred'); 44 static const Key IS_DEFERRED = const Key('isDeferred');
41 static const Key IS_EXTERNAL = const Key('isExternal'); 45 static const Key IS_EXTERNAL = const Key('isExternal');
42 static const Key IS_FINAL = const Key('isFinal'); 46 static const Key IS_FINAL = const Key('isFinal');
43 static const Key IS_NAMED = const Key('isNamed'); 47 static const Key IS_NAMED = const Key('isNamed');
44 static const Key IS_OPERATOR = const Key('isOperator'); 48 static const Key IS_OPERATOR = const Key('isOperator');
45 static const Key IS_OPTIONAL = const Key('isOptional'); 49 static const Key IS_OPTIONAL = const Key('isOptional');
50 static const Key IS_PROXY = const Key('isProxy');
51 static const Key IS_SETTER = const Key('isSetter');
46 static const Key KEYS = const Key('keys'); 52 static const Key KEYS = const Key('keys');
47 static const Key KIND = const Key('kind'); 53 static const Key KIND = const Key('kind');
48 static const Key LEFT = const Key('left'); 54 static const Key LEFT = const Key('left');
49 static const Key LENGTH = const Key('length'); 55 static const Key LENGTH = const Key('length');
50 static const Key LIBRARY = const Key('library'); 56 static const Key LIBRARY = const Key('library');
51 static const Key LIBRARY_DEPENDENCY = const Key('library-dependency'); 57 static const Key LIBRARY_DEPENDENCY = const Key('library-dependency');
52 static const Key LIBRARY_NAME = const Key('library-name'); 58 static const Key LIBRARY_NAME = const Key('library-name');
53 static const Key MEMBERS = const Key('members'); 59 static const Key MEMBERS = const Key('members');
54 static const Key NAME = const Key('name'); 60 static const Key NAME = const Key('name');
55 static const Key NAMES = const Key('names'); 61 static const Key NAMES = const Key('names');
62 static const Key NAMED_ARGUMENTS = const Key('named-arguments');
56 static const Key NAMED_PARAMETERS = const Key('named-parameters'); 63 static const Key NAMED_PARAMETERS = const Key('named-parameters');
57 static const Key NAMED_PARAMETER_TYPES = const Key('named-parameter-types'); 64 static const Key NAMED_PARAMETER_TYPES = const Key('named-parameter-types');
58 static const Key OFFSET = const Key('offset'); 65 static const Key OFFSET = const Key('offset');
59 static const Key OFFSETS = const Key('offsets'); 66 static const Key OFFSETS = const Key('offsets');
60 static const Key OPERATOR = const Key('operator'); 67 static const Key OPERATOR = const Key('operator');
61 static const Key OPTIONAL_PARAMETER_TYPES = 68 static const Key OPTIONAL_PARAMETER_TYPES =
62 const Key('optional-parameter-types'); 69 const Key('optional-parameter-types');
63 static const Key PARAMETERS = const Key('parameters'); 70 static const Key PARAMETERS = const Key('parameters');
64 static const Key PARAMETER_TYPES = const Key('parameter-types'); 71 static const Key PARAMETER_TYPES = const Key('parameter-types');
65 static const Key PREFIX = const Key('prefix'); 72 static const Key PREFIX = const Key('prefix');
66 static const Key RETURN_TYPE = const Key('return-type'); 73 static const Key RETURN_TYPE = const Key('return-type');
67 static const Key RIGHT = const Key('right'); 74 static const Key RIGHT = const Key('right');
75 static const Key STATIC_USES = const Key('static-uses');
68 static const Key SUPERTYPE = const Key('supertype'); 76 static const Key SUPERTYPE = const Key('supertype');
69 static const Key SUPERTYPES = const Key('supertypes'); 77 static const Key SUPERTYPES = const Key('supertypes');
70 static const Key TAGS = const Key('tags'); 78 static const Key TAGS = const Key('tags');
71 static const Key TRUE = const Key('true'); 79 static const Key TRUE = const Key('true');
72 static const Key TYPE = const Key('type'); 80 static const Key TYPE = const Key('type');
73 static const Key TYPES = const Key('types'); 81 static const Key TYPES = const Key('types');
74 static const Key TYPE_ARGUMENTS = const Key('type-arguments'); 82 static const Key TYPE_ARGUMENTS = const Key('type-arguments');
75 static const Key TYPE_DECLARATION = const Key('type-declaration'); 83 static const Key TYPE_DECLARATION = const Key('type-declaration');
84 static const Key TYPE_USES = const Key('type-uses');
76 static const Key TYPE_VARIABLES = const Key('type-variables'); 85 static const Key TYPE_VARIABLES = const Key('type-variables');
77 static const Key URI = const Key('uri'); 86 static const Key URI = const Key('uri');
78 static const Key VALUE = const Key('value'); 87 static const Key VALUE = const Key('value');
79 static const Key VALUES = const Key('values'); 88 static const Key VALUES = const Key('values');
80 89
81 final String name; 90 final String name;
82 91
83 const Key(this.name); 92 const Key(this.name);
84 93
85 String toString() => name; 94 String toString() => name;
86 } 95 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698