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

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

Issue 2955353002: Split inference type-info accessors into members, parameters and local functions (Closed)
Patch Set: Cleanup Created 3 years, 5 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 1742 matching lines...) Expand 10 before | Expand all | Expand 10 after
1753 class LocalFunctionElementZ extends DeserializedElementZ 1753 class LocalFunctionElementZ extends DeserializedElementZ
1754 with 1754 with
1755 LocalExecutableMixin, 1755 LocalExecutableMixin,
1756 AstElementMixinZ<FunctionExpression>, 1756 AstElementMixinZ<FunctionExpression>,
1757 ParametersMixin, 1757 ParametersMixin,
1758 FunctionTypedElementMixin, 1758 FunctionTypedElementMixin,
1759 TypedElementMixin<ResolutionFunctionType> 1759 TypedElementMixin<ResolutionFunctionType>
1760 implements LocalFunctionElement { 1760 implements LocalFunctionElement {
1761 LocalFunctionElementZ(ObjectDecoder decoder) : super(decoder); 1761 LocalFunctionElementZ(ObjectDecoder decoder) : super(decoder);
1762 1762
1763 MethodElement callMethod;
1764
1763 @override 1765 @override
1764 accept(ElementVisitor visitor, arg) { 1766 accept(ElementVisitor visitor, arg) {
1765 return visitor.visitLocalFunctionElement(this, arg); 1767 return visitor.visitLocalFunctionElement(this, arg);
1766 } 1768 }
1767 1769
1768 @override 1770 @override
1769 ElementKind get kind => ElementKind.FUNCTION; 1771 ElementKind get kind => ElementKind.FUNCTION;
1770 1772
1771 @override 1773 @override
1772 AsyncMarker get asyncMarker { 1774 AsyncMarker get asyncMarker {
(...skipping 668 matching lines...) Expand 10 before | Expand all | Expand 10 after
2441 } 2443 }
2442 2444
2443 @override 2445 @override
2444 Node get node => throw new UnsupportedError('${this}.node'); 2446 Node get node => throw new UnsupportedError('${this}.node');
2445 2447
2446 @override 2448 @override
2447 bool get hasNode => false; 2449 bool get hasNode => false;
2448 2450
2449 String toString() => 'MetadataAnnotationZ(${constant.toDartText()})'; 2451 String toString() => 'MetadataAnnotationZ(${constant.toDartText()})';
2450 } 2452 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698