| 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 | 3 |
| 4 library engine; | 4 library engine; |
| 5 | 5 |
| 6 import 'java_core.dart'; | 6 import 'java_core.dart'; |
| 7 import 'dart:collection' show HasNextIterator; | 7 import 'dart:collection' show HasNextIterator; |
| 8 import 'error.dart'; | 8 import 'error.dart'; |
| 9 import 'source.dart'; | 9 import 'source.dart'; |
| 10 import 'scanner.dart' show Token, CharBufferScanner, StringScanner; | 10 import 'scanner.dart' show Token, CharBufferScanner, StringScanner; |
| (...skipping 495 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 506 * @param elementMap a table mapping the source for the libraries represented
by the elements to | 506 * @param elementMap a table mapping the source for the libraries represented
by the elements to |
| 507 * the elements representing the libraries | 507 * the elements representing the libraries |
| 508 */ | 508 */ |
| 509 void recordLibraryElements(Map<Source, LibraryElement> elementMap) { | 509 void recordLibraryElements(Map<Source, LibraryElement> elementMap) { |
| 510 { | 510 { |
| 511 javaMapPutAll(_libraryElementCache, elementMap); | 511 javaMapPutAll(_libraryElementCache, elementMap); |
| 512 } | 512 } |
| 513 } | 513 } |
| 514 CompilationUnit resolve(Source source, LibraryElement library) => parse(source
); | 514 CompilationUnit resolve(Source source, LibraryElement library) => parse(source
); |
| 515 Token scan(Source source, AnalysisErrorListener errorListener) { | 515 Token scan(Source source, AnalysisErrorListener errorListener) { |
| 516 List<Token> tokens = new List<Token>.fixedLength(1); | 516 List<Token> tokens = new List<Token>(1); |
| 517 Source_ContentReceiver receiver = new Source_ContentReceiver_1(source, error
Listener, tokens); | 517 Source_ContentReceiver receiver = new Source_ContentReceiver_1(source, error
Listener, tokens); |
| 518 try { | 518 try { |
| 519 source.getContents(receiver); | 519 source.getContents(receiver); |
| 520 } on JavaException catch (exception) { | 520 } on JavaException catch (exception) { |
| 521 } | 521 } |
| 522 return tokens[0]; | 522 return tokens[0]; |
| 523 } | 523 } |
| 524 void set sourceFactory(SourceFactory sourceFactory2) { | 524 void set sourceFactory(SourceFactory sourceFactory2) { |
| 525 this._sourceFactory = sourceFactory2; | 525 this._sourceFactory = sourceFactory2; |
| 526 } | 526 } |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 650 void logError(String message) { | 650 void logError(String message) { |
| 651 } | 651 } |
| 652 void logError2(String message, Exception exception) { | 652 void logError2(String message, Exception exception) { |
| 653 } | 653 } |
| 654 void logError3(Exception exception) { | 654 void logError3(Exception exception) { |
| 655 } | 655 } |
| 656 void logInformation(String message) { | 656 void logInformation(String message) { |
| 657 } | 657 } |
| 658 void logInformation2(String message, Exception exception) { | 658 void logInformation2(String message, Exception exception) { |
| 659 } | 659 } |
| 660 } | 660 } |
| OLD | NEW |