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

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

Issue 26096002: New analyzer_experimental snapshot. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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 '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
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
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 }
OLDNEW
« no previous file with comments | « pkg/analyzer_experimental/lib/src/generated/scanner.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