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

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

Issue 935613002: Make [EnumClassElement.enumValues] a [List]. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | pkg/compiler/lib/src/elements/modelx.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 7
8 import '../constants/expressions.dart'; 8 import '../constants/expressions.dart';
9 import '../tree/tree.dart'; 9 import '../tree/tree.dart';
10 import '../util/util.dart'; 10 import '../util/util.dart';
(...skipping 1412 matching lines...) Expand 10 before | Expand all | Expand 10 after
1423 abstract class MixinApplicationElement extends ClassElement { 1423 abstract class MixinApplicationElement extends ClassElement {
1424 ClassElement get mixin; 1424 ClassElement get mixin;
1425 InterfaceType get mixinType; 1425 InterfaceType get mixinType;
1426 void set mixinType(InterfaceType value); 1426 void set mixinType(InterfaceType value);
1427 void addConstructor(FunctionElement constructor); 1427 void addConstructor(FunctionElement constructor);
1428 } 1428 }
1429 1429
1430 /// Enum declaration. 1430 /// Enum declaration.
1431 abstract class EnumClassElement extends ClassElement { 1431 abstract class EnumClassElement extends ClassElement {
1432 /// The static fields implied by the enum values. 1432 /// The static fields implied by the enum values.
1433 Iterable<FieldElement> get enumValues; 1433 List<FieldElement> get enumValues;
1434 } 1434 }
1435 1435
1436 /// The label entity defined by a labeled statement. 1436 /// The label entity defined by a labeled statement.
1437 abstract class LabelDefinition extends Entity { 1437 abstract class LabelDefinition extends Entity {
1438 Label get label; 1438 Label get label;
1439 String get labelName; 1439 String get labelName;
1440 JumpTarget get target; 1440 JumpTarget get target;
1441 1441
1442 bool get isTarget; 1442 bool get isTarget;
1443 bool get isBreakTarget; 1443 bool get isBreakTarget;
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
1621 bool get isDeclaredByField; 1621 bool get isDeclaredByField;
1622 1622
1623 /// Returns `true` if this member is abstract. 1623 /// Returns `true` if this member is abstract.
1624 bool get isAbstract; 1624 bool get isAbstract;
1625 1625
1626 /// If abstract, [implementation] points to the overridden concrete member, 1626 /// If abstract, [implementation] points to the overridden concrete member,
1627 /// if any. Otherwise [implementation] points to the member itself. 1627 /// if any. Otherwise [implementation] points to the member itself.
1628 Member get implementation; 1628 Member get implementation;
1629 } 1629 }
1630 1630
OLDNEW
« no previous file with comments | « no previous file | pkg/compiler/lib/src/elements/modelx.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698