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

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

Issue 26291005: dart2js: The name of a library without a library declaration is the empty string. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: rebase Created 7 years, 1 month 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 669 matching lines...) Expand 10 before | Expand all | Expand 10 after
680 // TODO(kasperl): Get rid of this method. 680 // TODO(kasperl): Get rid of this method.
681 Iterable<Element> getNonPrivateElementsInScope(); 681 Iterable<Element> getNonPrivateElementsInScope();
682 682
683 void setExports(Iterable<Element> exportedElements); 683 void setExports(Iterable<Element> exportedElements);
684 684
685 Element find(String elementName); 685 Element find(String elementName);
686 Element findLocal(String elementName); 686 Element findLocal(String elementName);
687 void forEachExport(f(Element element)); 687 void forEachExport(f(Element element));
688 688
689 bool hasLibraryName(); 689 bool hasLibraryName();
690 String getLibraryName();
690 String getLibraryOrScriptName(); 691 String getLibraryOrScriptName();
691 692
692 int compareTo(LibraryElement other); 693 int compareTo(LibraryElement other);
693 } 694 }
694 695
695 abstract class PrefixElement extends Element { 696 abstract class PrefixElement extends Element {
696 void addImport(Element element, Import import, DiagnosticListener listener); 697 void addImport(Element element, Import import, DiagnosticListener listener);
697 Element lookupLocalMember(String memberName); 698 Element lookupLocalMember(String memberName);
698 } 699 }
699 700
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
968 int get resolutionState; 969 int get resolutionState;
969 Token get beginToken; 970 Token get beginToken;
970 Token get endToken; 971 Token get endToken;
971 972
972 // TODO(kasperl): Try to get rid of these. 973 // TODO(kasperl): Try to get rid of these.
973 void set annotatedElement(Element value); 974 void set annotatedElement(Element value);
974 void set resolutionState(int value); 975 void set resolutionState(int value);
975 976
976 MetadataAnnotation ensureResolved(Compiler compiler); 977 MetadataAnnotation ensureResolved(Compiler compiler);
977 } 978 }
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