| OLD | NEW |
| 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 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 293 /** | 293 /** |
| 294 * Return `true` if this SDK includes documentation. | 294 * Return `true` if this SDK includes documentation. |
| 295 * @return `true` if this installation of the SDK has documentation | 295 * @return `true` if this installation of the SDK has documentation |
| 296 */ | 296 */ |
| 297 bool hasDocumentation() => docDirectory.exists(); | 297 bool hasDocumentation() => docDirectory.exists(); |
| 298 | 298 |
| 299 /** | 299 /** |
| 300 * Return `true` if the Dartium binary is available. | 300 * Return `true` if the Dartium binary is available. |
| 301 * @return `true` if the Dartium binary is available | 301 * @return `true` if the Dartium binary is available |
| 302 */ | 302 */ |
| 303 bool isDartiumInstalled() => dartiumExecutable != null; | 303 bool get isDartiumInstalled => dartiumExecutable != null; |
| 304 Source mapDartUri(ContentCache contentCache, String dartUri) { | 304 Source mapDartUri(ContentCache contentCache, String dartUri) { |
| 305 SdkLibrary library = getSdkLibrary(dartUri); | 305 SdkLibrary library = getSdkLibrary(dartUri); |
| 306 if (library == null) { | 306 if (library == null) { |
| 307 return null; | 307 return null; |
| 308 } | 308 } |
| 309 return new FileBasedSource.con2(contentCache, new JavaFile.relative(libraryD
irectory, library.path), UriKind.DART_URI); | 309 return new FileBasedSource.con2(contentCache, new JavaFile.relative(libraryD
irectory, library.path), UriKind.DART_URI); |
| 310 } | 310 } |
| 311 | 311 |
| 312 /** | 312 /** |
| 313 * Ensure that the dart VM is executable. If it is not, make it executable and
log that it was | 313 * Ensure that the dart VM is executable. If it is not, make it executable and
log that it was |
| (...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 494 return null; | 494 return null; |
| 495 } | 495 } |
| 496 } | 496 } |
| 497 class AnalysisErrorListener_8 implements AnalysisErrorListener { | 497 class AnalysisErrorListener_8 implements AnalysisErrorListener { |
| 498 List<bool> foundError; | 498 List<bool> foundError; |
| 499 AnalysisErrorListener_8(this.foundError); | 499 AnalysisErrorListener_8(this.foundError); |
| 500 void onError(AnalysisError error) { | 500 void onError(AnalysisError error) { |
| 501 foundError[0] = true; | 501 foundError[0] = true; |
| 502 } | 502 } |
| 503 } | 503 } |
| OLD | NEW |