| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 library engine.sdk.io; | 5 library analyzer.src.generated.sdk_io; |
| 6 | 6 |
| 7 import 'dart:io'; | 7 import 'dart:io'; |
| 8 | 8 |
| 9 import 'package:analyzer/src/context/context.dart'; | 9 import 'package:analyzer/src/context/context.dart'; |
| 10 import 'package:analyzer/src/generated/ast.dart'; |
| 11 import 'package:analyzer/src/generated/engine.dart'; |
| 12 import 'package:analyzer/src/generated/error.dart'; |
| 13 import 'package:analyzer/src/generated/java_core.dart'; |
| 10 import 'package:analyzer/src/generated/java_engine.dart'; | 14 import 'package:analyzer/src/generated/java_engine.dart'; |
| 11 | 15 import 'package:analyzer/src/generated/java_engine_io.dart'; |
| 12 import 'ast.dart'; | 16 import 'package:analyzer/src/generated/java_io.dart'; |
| 13 import 'engine.dart'; | 17 import 'package:analyzer/src/generated/parser.dart'; |
| 14 import 'error.dart'; | 18 import 'package:analyzer/src/generated/scanner.dart'; |
| 15 import 'java_core.dart'; | 19 import 'package:analyzer/src/generated/sdk.dart'; |
| 16 import 'java_engine_io.dart'; | 20 import 'package:analyzer/src/generated/source_io.dart'; |
| 17 import 'java_io.dart'; | |
| 18 import 'parser.dart'; | |
| 19 import 'scanner.dart'; | |
| 20 import 'sdk.dart'; | |
| 21 import 'source_io.dart'; | |
| 22 | 21 |
| 23 /** | 22 /** |
| 24 * A Dart SDK installed in a specified directory. Typical Dart SDK layout is | 23 * A Dart SDK installed in a specified directory. Typical Dart SDK layout is |
| 25 * something like... | 24 * something like... |
| 26 * | 25 * |
| 27 * dart-sdk/ | 26 * dart-sdk/ |
| 28 * bin/ | 27 * bin/ |
| 29 * dart[.exe] <-- VM | 28 * dart[.exe] <-- VM |
| 30 * lib/ | 29 * lib/ |
| 31 * core/ | 30 * core/ |
| (...skipping 565 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 597 SdkLibrariesReader_LibraryBuilder libraryBuilder = | 596 SdkLibrariesReader_LibraryBuilder libraryBuilder = |
| 598 new SdkLibrariesReader_LibraryBuilder(_useDart2jsPaths); | 597 new SdkLibrariesReader_LibraryBuilder(_useDart2jsPaths); |
| 599 // If any syntactic errors were found then don't try to visit the AST | 598 // If any syntactic errors were found then don't try to visit the AST |
| 600 // structure. | 599 // structure. |
| 601 if (!errorListener.errorReported) { | 600 if (!errorListener.errorReported) { |
| 602 unit.accept(libraryBuilder); | 601 unit.accept(libraryBuilder); |
| 603 } | 602 } |
| 604 return libraryBuilder.librariesMap; | 603 return libraryBuilder.librariesMap; |
| 605 } | 604 } |
| 606 } | 605 } |
| OLD | NEW |