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

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

Issue 12781005: Track argument types, and remove obsolete code that also used to track it. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 9 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
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 'dart:uri'; 7 import 'dart:uri';
8 8
9 import 'modelx.dart'; 9 import 'modelx.dart';
10 import '../tree/tree.dart'; 10 import '../tree/tree.dart';
(...skipping 638 matching lines...) Expand 10 before | Expand all | Expand 10 after
649 } 649 }
650 650
651 abstract class FunctionSignature { 651 abstract class FunctionSignature {
652 DartType get returnType; 652 DartType get returnType;
653 Link<Element> get requiredParameters; 653 Link<Element> get requiredParameters;
654 Link<Element> get optionalParameters; 654 Link<Element> get optionalParameters;
655 655
656 int get requiredParameterCount; 656 int get requiredParameterCount;
657 int get optionalParameterCount; 657 int get optionalParameterCount;
658 bool get optionalParametersAreNamed; 658 bool get optionalParametersAreNamed;
659 Element get firstOptionalParameter;
659 660
660 int get parameterCount; 661 int get parameterCount;
661 List<Element> get orderedOptionalParameters; 662 List<Element> get orderedOptionalParameters;
662 663
663 void forEachParameter(void function(Element parameter)); 664 void forEachParameter(void function(Element parameter));
664 void forEachRequiredParameter(void function(Element parameter)); 665 void forEachRequiredParameter(void function(Element parameter));
665 void forEachOptionalParameter(void function(Element parameter)); 666 void forEachOptionalParameter(void function(Element parameter));
666 667
667 void orderedForEachParameter(void function(Element parameter)); 668 void orderedForEachParameter(void function(Element parameter));
668 } 669 }
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
858 int get resolutionState; 859 int get resolutionState;
859 Token get beginToken; 860 Token get beginToken;
860 Token get endToken; 861 Token get endToken;
861 862
862 // TODO(kasperl): Try to get rid of these. 863 // TODO(kasperl): Try to get rid of these.
863 void set annotatedElement(Element value); 864 void set annotatedElement(Element value);
864 void set resolutionState(int value); 865 void set resolutionState(int value);
865 866
866 MetadataAnnotation ensureResolved(Compiler compiler); 867 MetadataAnnotation ensureResolved(Compiler compiler);
867 } 868 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698