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

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

Issue 1354603002: Revert "Enqueue superclasses instead of supertypes." (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: 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
« no previous file with comments | « pkg/compiler/lib/src/elements/common.dart ('k') | pkg/compiler/lib/src/enqueue.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 '../compiler.dart' show 7 import '../compiler.dart' show
8 Compiler; 8 Compiler;
9 import '../constants/constructors.dart'; 9 import '../constants/constructors.dart';
10 import '../constants/expressions.dart'; 10 import '../constants/expressions.dart';
(...skipping 1374 matching lines...) Expand 10 before | Expand all | Expand 10 after
1385 1385
1386 ClassElement get patch; 1386 ClassElement get patch;
1387 ClassElement get origin; 1387 ClassElement get origin;
1388 ClassElement get declaration; 1388 ClassElement get declaration;
1389 ClassElement get implementation; 1389 ClassElement get implementation;
1390 1390
1391 String get nativeTagInfo; 1391 String get nativeTagInfo;
1392 1392
1393 /// `true` if this class is an enum declaration. 1393 /// `true` if this class is an enum declaration.
1394 bool get isEnumClass; 1394 bool get isEnumClass;
1395
1396 /// `true` if this class is a mixin application, either named or unnamed.
1397 bool get isMixinApplication; 1395 bool get isMixinApplication;
1398
1399 /// `true` if this class is a named mixin application, e.g.
1400 ///
1401 /// class NamedMixinApplication = SuperClass with MixinClass;
1402 ///
1403 bool get isNamedMixinApplication;
1404
1405 /// `true` if this class is an unnamed mixin application, e.g. the synthesized
1406 /// `SuperClass+MixinClass` mixin application class in:
1407 ///
1408 /// class Class extends SuperClass with MixinClass {}
1409 ///
1410 bool get isUnnamedMixinApplication; 1396 bool get isUnnamedMixinApplication;
1411
1412 bool get hasBackendMembers; 1397 bool get hasBackendMembers;
1413 bool get hasLocalScopeMembers; 1398 bool get hasLocalScopeMembers;
1414 1399
1415 /// Returns `true` if this class is `Object` from dart:core. 1400 /// Returns `true` if this class is `Object` from dart:core.
1416 bool get isObject; 1401 bool get isObject;
1417 1402
1418 /// Returns `true` if this class implements [Function] either by directly 1403 /// Returns `true` if this class implements [Function] either by directly
1419 /// implementing the interface or by providing a [call] method. 1404 /// implementing the interface or by providing a [call] method.
1420 bool implementsFunction(Compiler compiler); 1405 bool implementsFunction(Compiler compiler);
1421 1406
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
1698 bool get isDeclaredByField; 1683 bool get isDeclaredByField;
1699 1684
1700 /// Returns `true` if this member is abstract. 1685 /// Returns `true` if this member is abstract.
1701 bool get isAbstract; 1686 bool get isAbstract;
1702 1687
1703 /// If abstract, [implementation] points to the overridden concrete member, 1688 /// If abstract, [implementation] points to the overridden concrete member,
1704 /// if any. Otherwise [implementation] points to the member itself. 1689 /// if any. Otherwise [implementation] points to the member itself.
1705 Member get implementation; 1690 Member get implementation;
1706 } 1691 }
1707 1692
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/elements/common.dart ('k') | pkg/compiler/lib/src/enqueue.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698