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

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

Issue 19590006: New analyzer_experimental snapshot. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 5 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 library engine.sdk.io; 3 library engine.sdk.io;
4 import 'dart:io'; 4 import 'dart:io';
5 import 'java_core.dart'; 5 import 'java_core.dart';
6 import 'java_io.dart'; 6 import 'java_io.dart';
7 import 'java_engine.dart'; 7 import 'java_engine.dart';
8 import 'java_engine_io.dart'; 8 import 'java_engine_io.dart';
9 import 'source_io.dart'; 9 import 'source_io.dart';
10 import 'error.dart'; 10 import 'error.dart';
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 * @return `true` if this installation of the SDK has documentation 309 * @return `true` if this installation of the SDK has documentation
310 */ 310 */
311 bool hasDocumentation() => docDirectory.exists(); 311 bool hasDocumentation() => docDirectory.exists();
312 312
313 /** 313 /**
314 * Return `true` if the Dartium binary is available. 314 * Return `true` if the Dartium binary is available.
315 * 315 *
316 * @return `true` if the Dartium binary is available 316 * @return `true` if the Dartium binary is available
317 */ 317 */
318 bool get isDartiumInstalled => dartiumExecutable != null; 318 bool get isDartiumInstalled => dartiumExecutable != null;
319 Source mapDartUri(ContentCache contentCache, String dartUri) { 319 Source mapDartUri(String dartUri) {
320 SdkLibrary library = getSdkLibrary(dartUri); 320 SdkLibrary library = getSdkLibrary(dartUri);
321 if (library == null) { 321 if (library == null) {
322 return null; 322 return null;
323 } 323 }
324 return new FileBasedSource.con2(contentCache, new JavaFile.relative(libraryD irectory, library.path), UriKind.DART_URI); 324 return new FileBasedSource.con2(_analysisContext.sourceFactory.contentCache, new JavaFile.relative(libraryDirectory, library.path), UriKind.DART_URI);
325 } 325 }
326 326
327 /** 327 /**
328 * Ensure that the dart VM is executable. If it is not, make it executable and log that it was 328 * Ensure that the dart VM is executable. If it is not, make it executable and log that it was
329 * necessary for us to do so. 329 * necessary for us to do so.
330 */ 330 */
331 void ensureVmIsExecutable() { 331 void ensureVmIsExecutable() {
332 } 332 }
333 333
334 /** 334 /**
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
516 return null; 516 return null;
517 } 517 }
518 } 518 }
519 class AnalysisErrorListener_9 implements AnalysisErrorListener { 519 class AnalysisErrorListener_9 implements AnalysisErrorListener {
520 List<bool> foundError; 520 List<bool> foundError;
521 AnalysisErrorListener_9(this.foundError); 521 AnalysisErrorListener_9(this.foundError);
522 void onError(AnalysisError error) { 522 void onError(AnalysisError error) {
523 foundError[0] = true; 523 foundError[0] = true;
524 } 524 }
525 } 525 }
OLDNEW
« no previous file with comments | « pkg/analyzer_experimental/lib/src/generated/sdk.dart ('k') | pkg/analyzer_experimental/lib/src/generated/source.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698