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

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

Issue 1896843002: Store and serialize NativeBehavior in TreeElements. (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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 static const Key LISTS = const Key('lists'); 77 static const Key LISTS = const Key('lists');
78 static const Key MAPS = const Key('maps'); 78 static const Key MAPS = const Key('maps');
79 static const Key MEMBERS = const Key('members'); 79 static const Key MEMBERS = const Key('members');
80 static const Key MIXIN = const Key('mixin'); 80 static const Key MIXIN = const Key('mixin');
81 static const Key MIXINS = const Key('mixins'); 81 static const Key MIXINS = const Key('mixins');
82 static const Key NAME = const Key('name'); 82 static const Key NAME = const Key('name');
83 static const Key NAMES = const Key('names'); 83 static const Key NAMES = const Key('names');
84 static const Key NAMED_ARGUMENTS = const Key('named-arguments'); 84 static const Key NAMED_ARGUMENTS = const Key('named-arguments');
85 static const Key NAMED_PARAMETERS = const Key('named-parameters'); 85 static const Key NAMED_PARAMETERS = const Key('named-parameters');
86 static const Key NAMED_PARAMETER_TYPES = const Key('named-parameter-types'); 86 static const Key NAMED_PARAMETER_TYPES = const Key('named-parameter-types');
87 static const Key NATIVE = const Key('native');
87 static const Key NESTING_LEVEL = const Key('nestingLevel'); 88 static const Key NESTING_LEVEL = const Key('nestingLevel');
88 static const Key NEW_STRUCTURE = const Key('newStructure'); 89 static const Key NEW_STRUCTURE = const Key('newStructure');
89 static const Key NODE = const Key('node'); 90 static const Key NODE = const Key('node');
90 static const Key OFFSET = const Key('offset'); 91 static const Key OFFSET = const Key('offset');
91 static const Key OPERATOR = const Key('operator'); 92 static const Key OPERATOR = const Key('operator');
92 static const Key OPTIONAL_PARAMETER_TYPES = 93 static const Key OPTIONAL_PARAMETER_TYPES =
93 const Key('optional-parameter-types'); 94 const Key('optional-parameter-types');
94 static const Key PARAMETERS = const Key('parameters'); 95 static const Key PARAMETERS = const Key('parameters');
95 static const Key PARAMETER_TYPES = const Key('parameter-types'); 96 static const Key PARAMETER_TYPES = const Key('parameter-types');
96 static const Key PREFIX = const Key('prefix'); 97 static const Key PREFIX = const Key('prefix');
(...skipping 20 matching lines...) Expand all
117 static const Key URI = const Key('uri'); 118 static const Key URI = const Key('uri');
118 static const Key VALUE = const Key('value'); 119 static const Key VALUE = const Key('value');
119 static const Key VALUES = const Key('values'); 120 static const Key VALUES = const Key('values');
120 121
121 final String name; 122 final String name;
122 123
123 const Key(this.name); 124 const Key(this.name);
124 125
125 String toString() => name; 126 String toString() => name;
126 } 127 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/serialization/equivalence.dart ('k') | pkg/compiler/lib/src/serialization/modelz.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698