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

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

Issue 1302333006: Support metadata on patches. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Remove partial renaming Created 5 years, 3 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 /// Implementation of the element model used for deserialiation. 5 /// Implementation of the element model used for deserialiation.
6 /// 6 ///
7 /// These classes are created by [ElementDeserializer] triggered by the 7 /// These classes are created by [ElementDeserializer] triggered by the
8 /// [Deserializer]. 8 /// [Deserializer].
9 9
10 library dart2js.serialization.modelz; 10 library dart2js.serialization.modelz;
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 152
153 // TODO(johnniwinther): Find a more precise semantics for this. 153 // TODO(johnniwinther): Find a more precise semantics for this.
154 @override 154 @override
155 bool get isSynthesized => true; 155 bool get isSynthesized => true;
156 156
157 @override 157 @override
158 bool get isTopLevel => false; 158 bool get isTopLevel => false;
159 159
160 // TODO(johnniwinther): Support metadata. 160 // TODO(johnniwinther): Support metadata.
161 @override 161 @override
162 Link<MetadataAnnotation> get metadata => const Link<MetadataAnnotation>(); 162 Iterable<MetadataAnnotation> get metadata => const <MetadataAnnotation>[];
163 163
164 @override 164 @override
165 Element get outermostEnclosingMemberOrTopLevel { 165 Element get outermostEnclosingMemberOrTopLevel {
166 return _unsupported('outermostEnclosingMemberOrTopLevel'); 166 return _unsupported('outermostEnclosingMemberOrTopLevel');
167 } 167 }
168 168
169 @override 169 @override
170 Token get position => _unsupported('position'); 170 Token get position => _unsupported('position');
171 } 171 }
172 172
(...skipping 1296 matching lines...) Expand 10 before | Expand all | Expand 10 after
1469 1469
1470 @override 1470 @override
1471 accept(ElementVisitor visitor, arg) { 1471 accept(ElementVisitor visitor, arg) {
1472 return visitor.visitFieldParameterElement(this, arg); 1472 return visitor.visitFieldParameterElement(this, arg);
1473 } 1473 }
1474 1474
1475 @override 1475 @override
1476 ElementKind get kind => ElementKind.INITIALIZING_FORMAL; 1476 ElementKind get kind => ElementKind.INITIALIZING_FORMAL;
1477 1477
1478 } 1478 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698