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

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

Issue 1146943002: Change Link to List in FunctionSignature. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 7 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 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 1070 matching lines...) Expand 10 before | Expand all | Expand 10 after
1081 * looking at code like "foo.x", we don't have to look for both a 1081 * looking at code like "foo.x", we don't have to look for both a
1082 * field named "x", a getter named "x", and a setter named "x=". 1082 * field named "x", a getter named "x", and a setter named "x=".
1083 */ 1083 */
1084 abstract class AbstractFieldElement extends Element { 1084 abstract class AbstractFieldElement extends Element {
1085 FunctionElement get getter; 1085 FunctionElement get getter;
1086 FunctionElement get setter; 1086 FunctionElement get setter;
1087 } 1087 }
1088 1088
1089 abstract class FunctionSignature { 1089 abstract class FunctionSignature {
1090 FunctionType get type; 1090 FunctionType get type;
1091 Link<FormalElement> get requiredParameters; 1091 List<FormalElement> get requiredParameters;
1092 Link<FormalElement> get optionalParameters; 1092 List<FormalElement> get optionalParameters;
1093 1093
1094 int get requiredParameterCount; 1094 int get requiredParameterCount;
1095 int get optionalParameterCount; 1095 int get optionalParameterCount;
1096 bool get optionalParametersAreNamed; 1096 bool get optionalParametersAreNamed;
1097 FormalElement get firstOptionalParameter; 1097 FormalElement get firstOptionalParameter;
1098 bool get hasOptionalParameters; 1098 bool get hasOptionalParameters;
1099 1099
1100 int get parameterCount; 1100 int get parameterCount;
1101 List<FormalElement> get orderedOptionalParameters; 1101 List<FormalElement> get orderedOptionalParameters;
1102 1102
(...skipping 543 matching lines...) Expand 10 before | Expand all | Expand 10 after
1646 bool get isDeclaredByField; 1646 bool get isDeclaredByField;
1647 1647
1648 /// Returns `true` if this member is abstract. 1648 /// Returns `true` if this member is abstract.
1649 bool get isAbstract; 1649 bool get isAbstract;
1650 1650
1651 /// If abstract, [implementation] points to the overridden concrete member, 1651 /// If abstract, [implementation] points to the overridden concrete member,
1652 /// if any. Otherwise [implementation] points to the member itself. 1652 /// if any. Otherwise [implementation] points to the member itself.
1653 Member get implementation; 1653 Member get implementation;
1654 } 1654 }
1655 1655
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/dart_backend/placeholder_collector.dart ('k') | pkg/compiler/lib/src/elements/modelx.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698