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

Side by Side Diff: pkg/compiler/lib/src/elements/elements.dart

Issue 2017903002: Improve equivalence testing of unnamed mixin applications. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Rebased Created 4 years, 6 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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 elements; 5 library elements;
6 6
7 import '../common.dart'; 7 import '../common.dart';
8 import '../common/resolution.dart' show Resolution; 8 import '../common/resolution.dart' show Resolution;
9 import '../compiler.dart' show Compiler; 9 import '../compiler.dart' show Compiler;
10 import '../constants/constructors.dart'; 10 import '../constants/constructors.dart';
(...skipping 1508 matching lines...) Expand 10 before | Expand all | Expand 10 after
1519 void forEachInterfaceMember(f(MemberSignature member)); 1519 void forEachInterfaceMember(f(MemberSignature member));
1520 1520
1521 /// Returns the type of the 'call' method in the interface of this class, or 1521 /// Returns the type of the 'call' method in the interface of this class, or
1522 /// `null` if the interface has no 'call' method. 1522 /// `null` if the interface has no 'call' method.
1523 FunctionType get callType; 1523 FunctionType get callType;
1524 } 1524 }
1525 1525
1526 abstract class MixinApplicationElement extends ClassElement { 1526 abstract class MixinApplicationElement extends ClassElement {
1527 ClassElement get mixin; 1527 ClassElement get mixin;
1528 InterfaceType get mixinType; 1528 InterfaceType get mixinType;
1529
1530 /// If this is an unnamed mixin application [subclass] is the subclass for
1531 /// which this mixin application is created.
1532 ClassElement get subclass;
1529 } 1533 }
1530 1534
1531 /// Enum declaration. 1535 /// Enum declaration.
1532 abstract class EnumClassElement extends ClassElement { 1536 abstract class EnumClassElement extends ClassElement {
1533 /// The static fields implied by the enum values. 1537 /// The static fields implied by the enum values.
1534 List<EnumConstantElement> get enumValues; 1538 List<EnumConstantElement> get enumValues;
1535 } 1539 }
1536 1540
1537 /// An enum constant value. 1541 /// An enum constant value.
1538 abstract class EnumConstantElement extends FieldElement { 1542 abstract class EnumConstantElement extends FieldElement {
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after
1830 /// by a field. 1834 /// by a field.
1831 bool get isDeclaredByField; 1835 bool get isDeclaredByField;
1832 1836
1833 /// Returns `true` if this member is abstract. 1837 /// Returns `true` if this member is abstract.
1834 bool get isAbstract; 1838 bool get isAbstract;
1835 1839
1836 /// If abstract, [implementation] points to the overridden concrete member, 1840 /// If abstract, [implementation] points to the overridden concrete member,
1837 /// if any. Otherwise [implementation] points to the member itself. 1841 /// if any. Otherwise [implementation] points to the member itself.
1838 Member get implementation; 1842 Member get implementation;
1839 } 1843 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698