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

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

Issue 1352533002: 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
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.
1395 bool get isMixinApplication; 1397 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 ///
1396 bool get isUnnamedMixinApplication; 1410 bool get isUnnamedMixinApplication;
1411
1397 bool get hasBackendMembers; 1412 bool get hasBackendMembers;
1398 bool get hasLocalScopeMembers; 1413 bool get hasLocalScopeMembers;
1399 1414
1400 /// Returns `true` if this class is `Object` from dart:core. 1415 /// Returns `true` if this class is `Object` from dart:core.
1401 bool get isObject; 1416 bool get isObject;
1402 1417
1403 /// Returns `true` if this class implements [Function] either by directly 1418 /// Returns `true` if this class implements [Function] either by directly
1404 /// implementing the interface or by providing a [call] method. 1419 /// implementing the interface or by providing a [call] method.
1405 bool implementsFunction(Compiler compiler); 1420 bool implementsFunction(Compiler compiler);
1406 1421
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
1683 bool get isDeclaredByField; 1698 bool get isDeclaredByField;
1684 1699
1685 /// Returns `true` if this member is abstract. 1700 /// Returns `true` if this member is abstract.
1686 bool get isAbstract; 1701 bool get isAbstract;
1687 1702
1688 /// If abstract, [implementation] points to the overridden concrete member, 1703 /// If abstract, [implementation] points to the overridden concrete member,
1689 /// if any. Otherwise [implementation] points to the member itself. 1704 /// if any. Otherwise [implementation] points to the member itself.
1690 Member get implementation; 1705 Member get implementation;
1691 } 1706 }
1692 1707
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698