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

Side by Side Diff: sdk/lib/_internal/compiler/implementation/elements/elements.dart

Issue 641923003: Remove the need for functionSignature. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated cf. comments Created 6 years, 2 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 | « sdk/lib/_internal/compiler/implementation/dart_backend/tree_ir_nodes.dart ('k') | no next file » | 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 1116 matching lines...) Expand 10 before | Expand all | Expand 10 after
1127 1127
1128 /// Do not use [computeSignature] outside of the resolver; instead retrieve 1128 /// Do not use [computeSignature] outside of the resolver; instead retrieve
1129 /// the signature through the [functionSignature] field. 1129 /// the signature through the [functionSignature] field.
1130 /// Trying to access a function signature that has not been computed in 1130 /// Trying to access a function signature that has not been computed in
1131 /// resolution is an error and calling [computeSignature] covers that error. 1131 /// resolution is an error and calling [computeSignature] covers that error.
1132 /// This method will go away! 1132 /// This method will go away!
1133 // TODO(johnniwinther): Rename to `ensureFunctionSignature`. 1133 // TODO(johnniwinther): Rename to `ensureFunctionSignature`.
1134 @deprecated FunctionSignature computeSignature(Compiler compiler); 1134 @deprecated FunctionSignature computeSignature(Compiler compiler);
1135 1135
1136 bool get hasFunctionSignature; 1136 bool get hasFunctionSignature;
1137
1138 /// The type of this function.
1139 FunctionType get type;
1137 } 1140 }
1138 1141
1139 /// A top level, static or instance function. 1142 /// A top level, static or instance function.
1140 abstract class MethodElement extends FunctionElement 1143 abstract class MethodElement extends FunctionElement
1141 implements MemberElement { 1144 implements MemberElement {
1142 } 1145 }
1143 1146
1144 /// A local function or closure (anonymous local function). 1147 /// A local function or closure (anonymous local function).
1145 abstract class LocalFunctionElement extends FunctionElement 1148 abstract class LocalFunctionElement extends FunctionElement
1146 implements LocalElement { 1149 implements LocalElement {
(...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after
1566 bool get isDeclaredByField; 1569 bool get isDeclaredByField;
1567 1570
1568 /// Returns `true` if this member is abstract. 1571 /// Returns `true` if this member is abstract.
1569 bool get isAbstract; 1572 bool get isAbstract;
1570 1573
1571 /// If abstract, [implementation] points to the overridden concrete member, 1574 /// If abstract, [implementation] points to the overridden concrete member,
1572 /// if any. Otherwise [implementation] points to the member itself. 1575 /// if any. Otherwise [implementation] points to the member itself.
1573 Member get implementation; 1576 Member get implementation;
1574 } 1577 }
1575 1578
OLDNEW
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/dart_backend/tree_ir_nodes.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698