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

Side by Side Diff: pkg/analyzer_experimental/lib/src/generated/source_io.dart

Issue 16019002: Merge the dart:uri library into dart:core and update the Uri class (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Final cleanup Created 7 years, 7 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
OLDNEW
1 // This code was auto-generated, is not intended to be edited, and is subject to 1 // This code was auto-generated, is not intended to be edited, and is subject to
2 // significant change. Please see the README file for more information. 2 // significant change. Please see the README file for more information.
3 3
4 library engine.source.io; 4 library engine.source.io;
5 5
6 import 'source.dart'; 6 import 'source.dart';
7 import 'dart:io'; 7 import 'dart:io';
8 import 'dart:uri';
9 import 'java_core.dart'; 8 import 'java_core.dart';
10 import 'java_io.dart'; 9 import 'java_io.dart';
11 import 'sdk.dart' show DartSdk; 10 import 'sdk.dart' show DartSdk;
12 import 'engine.dart' show AnalysisContext, AnalysisEngine; 11 import 'engine.dart' show AnalysisContext, AnalysisEngine;
13 export 'source.dart'; 12 export 'source.dart';
14 13
15 /** 14 /**
16 * Instances of the class {@code FileBasedSource} implement a source that repres ents a file. 15 * Instances of the class {@code FileBasedSource} implement a source that repres ents a file.
17 * @coverage dart.engine.source 16 * @coverage dart.engine.source
18 */ 17 */
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 } 277 }
279 return null; 278 return null;
280 } 279 }
281 Source resolveAbsolute(ContentCache contentCache, Uri uri) { 280 Source resolveAbsolute(ContentCache contentCache, Uri uri) {
282 if (!isFileUri(uri)) { 281 if (!isFileUri(uri)) {
283 return null; 282 return null;
284 } 283 }
285 return new FileBasedSource.con1(contentCache, new JavaFile.fromUri(uri)); 284 return new FileBasedSource.con1(contentCache, new JavaFile.fromUri(uri));
286 } 285 }
287 } 286 }
OLDNEW
« no previous file with comments | « pkg/analyzer_experimental/lib/src/generated/source.dart ('k') | pkg/analyzer_experimental/lib/src/utils.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698