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

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

Issue 185053005: Revert "Constrain type annotations with deferred types." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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 7
8 import '../tree/tree.dart'; 8 import '../tree/tree.dart';
9 import '../util/util.dart'; 9 import '../util/util.dart';
10 import '../resolution/resolution.dart'; 10 import '../resolution/resolution.dart';
(...skipping 715 matching lines...) Expand 10 before | Expand all | Expand 10 after
726 bool hasLibraryName(); 726 bool hasLibraryName();
727 String getLibraryName(); 727 String getLibraryName();
728 String getLibraryOrScriptName(); 728 String getLibraryOrScriptName();
729 729
730 int compareTo(LibraryElement other); 730 int compareTo(LibraryElement other);
731 } 731 }
732 732
733 abstract class PrefixElement extends Element { 733 abstract class PrefixElement extends Element {
734 void addImport(Element element, Import import, DiagnosticListener listener); 734 void addImport(Element element, Import import, DiagnosticListener listener);
735 Element lookupLocalMember(String memberName); 735 Element lookupLocalMember(String memberName);
736 /// Is true if this prefix belongs to a deferred import.
737 bool get isDeferred;
738 void markAsDeferred();
739 } 736 }
740 737
741 abstract class TypedefElement extends Element 738 abstract class TypedefElement extends Element
742 implements TypeDeclarationElement { 739 implements TypeDeclarationElement {
743 TypedefType get thisType; 740 TypedefType get thisType;
744 TypedefType get rawType; 741 TypedefType get rawType;
745 DartType get alias; 742 DartType get alias;
746 FunctionSignature get functionSignature; 743 FunctionSignature get functionSignature;
747 Link<DartType> get typeVariables; 744 Link<DartType> get typeVariables;
748 745
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after
1112 InterfaceType get declarer; 1109 InterfaceType get declarer;
1113 1110
1114 /// Returns `true` if this member is static. 1111 /// Returns `true` if this member is static.
1115 bool get isStatic; 1112 bool get isStatic;
1116 1113
1117 /// Returns `true` if this member is a getter or setter implicitly declared 1114 /// Returns `true` if this member is a getter or setter implicitly declared
1118 /// by a field. 1115 /// by a field.
1119 bool get isDeclaredByField; 1116 bool get isDeclaredByField;
1120 } 1117 }
1121 1118
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698