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

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

Issue 59073003: Version 0.8.10.4 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/
Patch Set: 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
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 676 matching lines...) Expand 10 before | Expand all | Expand 10 after
687 void addMember(Element element, DiagnosticListener listener); 687 void addMember(Element element, DiagnosticListener listener);
688 void addToScope(Element element, DiagnosticListener listener); 688 void addToScope(Element element, DiagnosticListener listener);
689 689
690 // TODO(kasperl): Get rid of this method. 690 // TODO(kasperl): Get rid of this method.
691 Iterable<Element> getNonPrivateElementsInScope(); 691 Iterable<Element> getNonPrivateElementsInScope();
692 692
693 void setExports(Iterable<Element> exportedElements); 693 void setExports(Iterable<Element> exportedElements);
694 694
695 Element find(String elementName); 695 Element find(String elementName);
696 Element findLocal(String elementName); 696 Element findLocal(String elementName);
697 Element findExported(String elementName);
697 void forEachExport(f(Element element)); 698 void forEachExport(f(Element element));
698 699
699 bool hasLibraryName(); 700 bool hasLibraryName();
700 String getLibraryName(); 701 String getLibraryName();
701 String getLibraryOrScriptName(); 702 String getLibraryOrScriptName();
702 703
703 int compareTo(LibraryElement other); 704 int compareTo(LibraryElement other);
704 } 705 }
705 706
706 abstract class PrefixElement extends Element { 707 abstract class PrefixElement extends Element {
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
979 int get resolutionState; 980 int get resolutionState;
980 Token get beginToken; 981 Token get beginToken;
981 Token get endToken; 982 Token get endToken;
982 983
983 // TODO(kasperl): Try to get rid of these. 984 // TODO(kasperl): Try to get rid of these.
984 void set annotatedElement(Element value); 985 void set annotatedElement(Element value);
985 void set resolutionState(int value); 986 void set resolutionState(int value);
986 987
987 MetadataAnnotation ensureResolved(Compiler compiler); 988 MetadataAnnotation ensureResolved(Compiler compiler);
988 } 989 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698