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

Unified Diff: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/context/DelegatingAnalysisContextImpl.java

Issue 17277004: Split list of referenced libraries (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/context/DelegatingAnalysisContextImpl.java
===================================================================
--- editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/context/DelegatingAnalysisContextImpl.java (revision 24187)
+++ editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/context/DelegatingAnalysisContextImpl.java (working copy)
@@ -77,6 +77,15 @@
}
@Override
+ public Source[] computeExportedLibraries(Source source) throws AnalysisException {
+ if (source.isInSystemLibrary()) {
+ return sdkAnalysisContext.computeExportedLibraries(source);
+ } else {
+ return super.computeExportedLibraries(source);
+ }
+ }
+
+ @Override
public HtmlElement computeHtmlElement(Source source) throws AnalysisException {
if (source.isInSystemLibrary()) {
return sdkAnalysisContext.computeHtmlElement(source);
@@ -86,6 +95,15 @@
}
@Override
+ public Source[] computeImportedLibraries(Source source) throws AnalysisException {
+ if (source.isInSystemLibrary()) {
+ return sdkAnalysisContext.computeImportedLibraries(source);
+ } else {
+ return super.computeImportedLibraries(source);
+ }
+ }
+
+ @Override
public SourceKind computeKindOf(Source source) {
if (source.isInSystemLibrary()) {
return sdkAnalysisContext.computeKindOf(source);

Powered by Google App Engine
This is Rietveld 408576698