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

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

Issue 1811173003: Support per-library serialization. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Updated cf. comments. 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');
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 static const Key IS_UNNAMED_MIXIN_APPLICATION = 52 static const Key IS_UNNAMED_MIXIN_APPLICATION =
53 const Key('isUnnamedMixinApplication'); 53 const Key('isUnnamedMixinApplication');
54 static const Key KEYS = const Key('keys'); 54 static const Key KEYS = const Key('keys');
55 static const Key KIND = const Key('kind'); 55 static const Key KIND = const Key('kind');
56 static const Key LEFT = const Key('left'); 56 static const Key LEFT = const Key('left');
57 static const Key LENGTH = const Key('length'); 57 static const Key LENGTH = const Key('length');
58 static const Key LIBRARY = const Key('library'); 58 static const Key LIBRARY = const Key('library');
59 static const Key LIBRARY_DEPENDENCY = const Key('library-dependency'); 59 static const Key LIBRARY_DEPENDENCY = const Key('library-dependency');
60 static const Key LIBRARY_NAME = const Key('library-name'); 60 static const Key LIBRARY_NAME = const Key('library-name');
61 static const Key MEMBERS = const Key('members'); 61 static const Key MEMBERS = const Key('members');
62 static const Key MIXIN = const Key('mixin');
63 static const Key MIXINS = const Key('mixins');
62 static const Key NAME = const Key('name'); 64 static const Key NAME = const Key('name');
63 static const Key NAMES = const Key('names'); 65 static const Key NAMES = const Key('names');
64 static const Key NAMED_ARGUMENTS = const Key('named-arguments'); 66 static const Key NAMED_ARGUMENTS = const Key('named-arguments');
65 static const Key NAMED_PARAMETERS = const Key('named-parameters'); 67 static const Key NAMED_PARAMETERS = const Key('named-parameters');
66 static const Key NAMED_PARAMETER_TYPES = const Key('named-parameter-types'); 68 static const Key NAMED_PARAMETER_TYPES = const Key('named-parameter-types');
67 static const Key OFFSET = const Key('offset'); 69 static const Key OFFSET = const Key('offset');
68 static const Key OFFSETS = const Key('offsets');
69 static const Key OPERATOR = const Key('operator'); 70 static const Key OPERATOR = const Key('operator');
70 static const Key OPTIONAL_PARAMETER_TYPES = 71 static const Key OPTIONAL_PARAMETER_TYPES =
71 const Key('optional-parameter-types'); 72 const Key('optional-parameter-types');
72 static const Key PARAMETERS = const Key('parameters'); 73 static const Key PARAMETERS = const Key('parameters');
73 static const Key PARAMETER_TYPES = const Key('parameter-types'); 74 static const Key PARAMETER_TYPES = const Key('parameter-types');
74 static const Key PREFIX = const Key('prefix'); 75 static const Key PREFIX = const Key('prefix');
75 static const Key RETURN_TYPE = const Key('return-type'); 76 static const Key RETURN_TYPE = const Key('return-type');
76 static const Key RIGHT = const Key('right'); 77 static const Key RIGHT = const Key('right');
77 static const Key STATIC_USES = const Key('static-uses'); 78 static const Key STATIC_USES = const Key('static-uses');
78 static const Key SUPERTYPE = const Key('supertype'); 79 static const Key SUPERTYPE = const Key('supertype');
79 static const Key SUPERTYPES = const Key('supertypes'); 80 static const Key SUPERTYPES = const Key('supertypes');
80 static const Key TAGS = const Key('tags'); 81 static const Key TAGS = const Key('tags');
81 static const Key TRUE = const Key('true'); 82 static const Key TRUE = const Key('true');
82 static const Key TYPE = const Key('type'); 83 static const Key TYPE = const Key('type');
83 static const Key TYPES = const Key('types'); 84 static const Key TYPES = const Key('types');
84 static const Key TYPE_ARGUMENTS = const Key('type-arguments'); 85 static const Key TYPE_ARGUMENTS = const Key('type-arguments');
85 static const Key TYPE_DECLARATION = const Key('type-declaration'); 86 static const Key TYPE_DECLARATION = const Key('type-declaration');
86 static const Key TYPE_USES = const Key('type-uses'); 87 static const Key TYPE_USES = const Key('type-uses');
87 static const Key TYPE_VARIABLES = const Key('type-variables'); 88 static const Key TYPE_VARIABLES = const Key('type-variables');
88 static const Key URI = const Key('uri'); 89 static const Key URI = const Key('uri');
89 static const Key VALUE = const Key('value'); 90 static const Key VALUE = const Key('value');
90 static const Key VALUES = const Key('values'); 91 static const Key VALUES = const Key('values');
91 92
92 final String name; 93 final String name;
93 94
94 const Key(this.name); 95 const Key(this.name);
95 96
96 String toString() => name; 97 String toString() => name;
97 } 98 }
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