| 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 driver; | 5 library driver; |
| 6 | 6 |
| 7 import 'dart:async'; | 7 import 'dart:async'; |
| 8 import 'dart:io'; | 8 import 'dart:io'; |
| 9 import 'dart:math'; | 9 import 'dart:math'; |
| 10 | 10 |
| 11 import 'package:analysis_server/plugin/analysis/resolver_provider.dart'; |
| 11 import 'package:analysis_server/src/analysis_server.dart'; | 12 import 'package:analysis_server/src/analysis_server.dart'; |
| 12 import 'package:analysis_server/src/plugin/server_plugin.dart'; | 13 import 'package:analysis_server/src/plugin/server_plugin.dart'; |
| 13 import 'package:analysis_server/src/server/http_server.dart'; | 14 import 'package:analysis_server/src/server/http_server.dart'; |
| 14 import 'package:analysis_server/src/server/stdio_server.dart'; | 15 import 'package:analysis_server/src/server/stdio_server.dart'; |
| 15 import 'package:analysis_server/src/socket_server.dart'; | 16 import 'package:analysis_server/src/socket_server.dart'; |
| 16 import 'package:analysis_server/starter.dart'; | 17 import 'package:analysis_server/starter.dart'; |
| 17 import 'package:analysis_server/uri/resolver_provider.dart'; | |
| 18 import 'package:analyzer/file_system/physical_file_system.dart'; | 18 import 'package:analyzer/file_system/physical_file_system.dart'; |
| 19 import 'package:analyzer/instrumentation/file_instrumentation.dart'; | 19 import 'package:analyzer/instrumentation/file_instrumentation.dart'; |
| 20 import 'package:analyzer/instrumentation/instrumentation.dart'; | 20 import 'package:analyzer/instrumentation/instrumentation.dart'; |
| 21 import 'package:analyzer/src/generated/engine.dart'; | 21 import 'package:analyzer/src/generated/engine.dart'; |
| 22 import 'package:analyzer/src/generated/incremental_logger.dart'; | 22 import 'package:analyzer/src/generated/incremental_logger.dart'; |
| 23 import 'package:analyzer/src/generated/java_io.dart'; | 23 import 'package:analyzer/src/generated/java_io.dart'; |
| 24 import 'package:analyzer/src/generated/sdk.dart'; | 24 import 'package:analyzer/src/generated/sdk.dart'; |
| 25 import 'package:analyzer/src/generated/sdk_io.dart'; | 25 import 'package:analyzer/src/generated/sdk_io.dart'; |
| 26 import 'package:args/args.dart'; | 26 import 'package:args/args.dart'; |
| 27 import 'package:plugin/manager.dart'; | 27 import 'package:plugin/manager.dart'; |
| (...skipping 535 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 563 uuidFile.parent.createSync(recursive: true); | 563 uuidFile.parent.createSync(recursive: true); |
| 564 uuidFile.writeAsStringSync(uuid); | 564 uuidFile.writeAsStringSync(uuid); |
| 565 } catch (exception, stackTrace) { | 565 } catch (exception, stackTrace) { |
| 566 service.logPriorityException(exception, stackTrace); | 566 service.logPriorityException(exception, stackTrace); |
| 567 // Slightly alter the uuid to indicate it was not persisted | 567 // Slightly alter the uuid to indicate it was not persisted |
| 568 uuid = 'temp-$uuid'; | 568 uuid = 'temp-$uuid'; |
| 569 } | 569 } |
| 570 return uuid; | 570 return uuid; |
| 571 } | 571 } |
| 572 } | 572 } |
| OLD | NEW |