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

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

Issue 27008003: Handle clash of prefix/non-prefix imports. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebased + updated cf. comments. Created 7 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 | « no previous file | sdk/lib/_internal/compiler/implementation/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 '../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 682 matching lines...) Expand 10 before | Expand all | Expand 10 after
693 Element findLocal(SourceString elementName); 693 Element findLocal(SourceString elementName);
694 void forEachExport(f(Element element)); 694 void forEachExport(f(Element element));
695 695
696 bool hasLibraryName(); 696 bool hasLibraryName();
697 String getLibraryOrScriptName(); 697 String getLibraryOrScriptName();
698 698
699 int compareTo(LibraryElement other); 699 int compareTo(LibraryElement other);
700 } 700 }
701 701
702 abstract class PrefixElement extends Element { 702 abstract class PrefixElement extends Element {
703 Map<SourceString, Element> get imported; 703 void addImport(Element element, Import import, DiagnosticListener listener);
704 Element lookupLocalMember(SourceString memberName); 704 Element lookupLocalMember(SourceString memberName);
705 } 705 }
706 706
707 abstract class TypedefElement extends Element 707 abstract class TypedefElement extends Element
708 implements TypeDeclarationElement { 708 implements TypeDeclarationElement {
709 TypedefType get thisType; 709 TypedefType get thisType;
710 TypedefType get rawType; 710 TypedefType get rawType;
711 DartType get alias; 711 DartType get alias;
712 FunctionSignature get functionSignature; 712 FunctionSignature get functionSignature;
713 Link<DartType> get typeVariables; 713 Link<DartType> get typeVariables;
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
973 int get resolutionState; 973 int get resolutionState;
974 Token get beginToken; 974 Token get beginToken;
975 Token get endToken; 975 Token get endToken;
976 976
977 // TODO(kasperl): Try to get rid of these. 977 // TODO(kasperl): Try to get rid of these.
978 void set annotatedElement(Element value); 978 void set annotatedElement(Element value);
979 void set resolutionState(int value); 979 void set resolutionState(int value);
980 980
981 MetadataAnnotation ensureResolved(Compiler compiler); 981 MetadataAnnotation ensureResolved(Compiler compiler);
982 } 982 }
OLDNEW
« no previous file with comments | « no previous file | sdk/lib/_internal/compiler/implementation/elements/modelx.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698