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

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

Issue 1873823002: Update elements, nodes and visitors for serialization. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Rebased Created 4 years, 8 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 1475 matching lines...) Expand 10 before | Expand all | Expand 10 after
1486 } 1486 }
1487 1487
1488 abstract class MixinApplicationElement extends ClassElement { 1488 abstract class MixinApplicationElement extends ClassElement {
1489 ClassElement get mixin; 1489 ClassElement get mixin;
1490 InterfaceType get mixinType; 1490 InterfaceType get mixinType;
1491 } 1491 }
1492 1492
1493 /// Enum declaration. 1493 /// Enum declaration.
1494 abstract class EnumClassElement extends ClassElement { 1494 abstract class EnumClassElement extends ClassElement {
1495 /// The static fields implied by the enum values. 1495 /// The static fields implied by the enum values.
1496 List<FieldElement> get enumValues; 1496 List<EnumConstantElement> get enumValues;
1497 }
1498
1499 /// An enum constant value.
1500 abstract class EnumConstantElement extends FieldElement {
1501 /// The enum that declared this constant.
1502 EnumClassElement get enclosingClass;
1503
1504 /// The index of this constant within the values of the enum.
1505 int get index;
1497 } 1506 }
1498 1507
1499 /// The label entity defined by a labeled statement. 1508 /// The label entity defined by a labeled statement.
1500 abstract class LabelDefinition extends Entity { 1509 abstract class LabelDefinition extends Entity {
1501 Label get label; 1510 Label get label;
1502 String get labelName; 1511 String get labelName;
1503 JumpTarget get target; 1512 JumpTarget get target;
1504 1513
1505 bool get isTarget; 1514 bool get isTarget;
1506 bool get isBreakTarget; 1515 bool get isBreakTarget;
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
1699 /// by a field. 1708 /// by a field.
1700 bool get isDeclaredByField; 1709 bool get isDeclaredByField;
1701 1710
1702 /// Returns `true` if this member is abstract. 1711 /// Returns `true` if this member is abstract.
1703 bool get isAbstract; 1712 bool get isAbstract;
1704 1713
1705 /// If abstract, [implementation] points to the overridden concrete member, 1714 /// If abstract, [implementation] points to the overridden concrete member,
1706 /// if any. Otherwise [implementation] points to the member itself. 1715 /// if any. Otherwise [implementation] points to the member itself.
1707 Member get implementation; 1716 Member get implementation;
1708 } 1717 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart ('k') | pkg/compiler/lib/src/elements/modelx.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698