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

Issue 11027006: Dart analyzer fixes to improve pluggability. (Closed)

Created:
8 years, 2 months ago by pquitslund
Modified:
8 years, 2 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Dart analyzer fixes to improve pluggability. More fixes in the service of supporting analysis of resources that are non-resident. Notably a pluggable UrlLibrarySource and a repurposable SystemLibrariesReader. NOTE (API Change): SystemLibraryProvider is now an abstract class, suitable for client customization. Committed: https://code.google.com/p/dart/source/detail?r=13084

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+240 lines, -192 lines) Patch
M compiler/java/com/google/dart/compiler/FileBasedSystemLibraryProvider.java View 2 chunks +16 lines, -37 lines 0 comments Download
M compiler/java/com/google/dart/compiler/SystemLibrariesReader.java View 1 2 chunks +95 lines, -107 lines 0 comments Download
M compiler/java/com/google/dart/compiler/SystemLibraryProvider.java View 1 chunk +63 lines, -25 lines 0 comments Download
M compiler/java/com/google/dart/compiler/UrlLibrarySource.java View 4 chunks +64 lines, -22 lines 0 comments Download
M compiler/javatests/com/google/dart/compiler/SystemLibrariesReaderTest.java View 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
pquitslund
8 years, 2 months ago (2012-10-01 18:56:46 UTC) #1
Brian Wilkerson
LGTM, other than one minor nit http://codereview.chromium.org/11027006/diff/1/compiler/java/com/google/dart/compiler/SystemLibrariesReader.java File compiler/java/com/google/dart/compiler/SystemLibrariesReader.java (right): http://codereview.chromium.org/11027006/diff/1/compiler/java/com/google/dart/compiler/SystemLibrariesReader.java#newcode188 compiler/java/com/google/dart/compiler/SystemLibrariesReader.java:188: loadLibraryInfo(); Could we ...
8 years, 2 months ago (2012-10-01 19:49:53 UTC) #2
keertip
lgtm
8 years, 2 months ago (2012-10-01 19:55:46 UTC) #3
pquitslund
8 years, 2 months ago (2012-10-01 20:15:13 UTC) #4
http://codereview.chromium.org/11027006/diff/1/compiler/java/com/google/dart/...
File compiler/java/com/google/dart/compiler/SystemLibrariesReader.java (right):

http://codereview.chromium.org/11027006/diff/1/compiler/java/com/google/dart/...
compiler/java/com/google/dart/compiler/SystemLibrariesReader.java:188:
loadLibraryInfo();
On 2012/10/01 19:49:53, Brian Wilkerson wrote:
> Could we just pass the sdkFileReader into loadLibraryInfo rather than storing
it
> in an instance field?

Sure thing!  Done.

Powered by Google App Engine
This is Rietveld 408576698