| 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 'java_core.dart'; | 4 import 'java_core.dart'; |
| 5 import 'java_io.dart'; | 5 import 'java_io.dart'; |
| 6 import 'java_engine_io.dart'; | 6 import 'java_engine_io.dart'; |
| 7 import 'source_io.dart'; | 7 import 'source_io.dart'; |
| 8 import 'error.dart'; | 8 import 'error.dart'; |
| 9 import 'scanner.dart'; | 9 import 'scanner.dart'; |
| 10 import 'ast.dart'; | 10 import 'ast.dart'; |
| (...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 409 } | 409 } |
| 410 | 410 |
| 411 /** | 411 /** |
| 412 * Read all of the configuration files to initialize the library maps. | 412 * Read all of the configuration files to initialize the library maps. |
| 413 */ | 413 */ |
| 414 void initializeLibraryMap() { | 414 void initializeLibraryMap() { |
| 415 try { | 415 try { |
| 416 JavaFile librariesFile = new JavaFile.relative(new JavaFile.relative(libra
ryDirectory, _INTERNAL_DIR), _LIBRARIES_FILE); | 416 JavaFile librariesFile = new JavaFile.relative(new JavaFile.relative(libra
ryDirectory, _INTERNAL_DIR), _LIBRARIES_FILE); |
| 417 String contents = librariesFile.readAsStringSync(); | 417 String contents = librariesFile.readAsStringSync(); |
| 418 _libraryMap = new SdkLibrariesReader().readFrom(librariesFile, contents); | 418 _libraryMap = new SdkLibrariesReader().readFrom(librariesFile, contents); |
| 419 } catch (exception) { | 419 } on JavaException catch (exception) { |
| 420 AnalysisEngine.instance.logger.logError3(exception); | 420 AnalysisEngine.instance.logger.logError3(exception); |
| 421 _libraryMap = new LibraryMap(); | 421 _libraryMap = new LibraryMap(); |
| 422 } | 422 } |
| 423 } | 423 } |
| 424 | 424 |
| 425 /** | 425 /** |
| 426 * Initialize the state of the SDK. | 426 * Initialize the state of the SDK. |
| 427 */ | 427 */ |
| 428 void initializeSdk() { | 428 void initializeSdk() { |
| 429 if (!OSUtilities.isWindows()) { | 429 if (!OSUtilities.isWindows()) { |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 557 return null; | 557 return null; |
| 558 } | 558 } |
| 559 } | 559 } |
| 560 class AnalysisErrorListener_8 implements AnalysisErrorListener { | 560 class AnalysisErrorListener_8 implements AnalysisErrorListener { |
| 561 List<bool> foundError; | 561 List<bool> foundError; |
| 562 AnalysisErrorListener_8(this.foundError); | 562 AnalysisErrorListener_8(this.foundError); |
| 563 void onError(AnalysisError error) { | 563 void onError(AnalysisError error) { |
| 564 foundError[0] = true; | 564 foundError[0] = true; |
| 565 } | 565 } |
| 566 } | 566 } |
| OLD | NEW |