| OLD | NEW |
| 1 #!/usr/bin/env dart | 1 #!/usr/bin/env dart |
| 2 | 2 |
| 3 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 3 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 4 // for details. All rights reserved. Use of this source code is governed by a | 4 // for details. All rights reserved. Use of this source code is governed by a |
| 5 // BSD-style license that can be found in the LICENSE file. | 5 // BSD-style license that can be found in the LICENSE file. |
| 6 | 6 |
| 7 /** The entry point for the analyzer. */ | 7 /** The entry point for the analyzer. */ |
| 8 library analyzer; | 8 library analyzer; |
| 9 | 9 |
| 10 import 'dart:async'; |
| 10 import 'dart:convert'; | 11 import 'dart:convert'; |
| 11 import 'dart:io'; | 12 import 'dart:io'; |
| 12 | 13 |
| 13 import 'package:analyzer/src/analyzer_impl.dart'; | 14 import 'package:analyzer/src/analyzer_impl.dart'; |
| 14 import 'package:analyzer/src/generated/engine.dart'; | 15 import 'package:analyzer/src/generated/engine.dart'; |
| 15 import 'package:analyzer/src/generated/error.dart'; | 16 import 'package:analyzer/src/generated/error.dart'; |
| 16 import 'package:analyzer/src/generated/interner.dart'; | 17 import 'package:analyzer/src/generated/interner.dart'; |
| 17 import 'package:analyzer/src/generated/java_core.dart' show JavaSystem; | 18 import 'package:analyzer/src/generated/java_core.dart' show JavaSystem; |
| 18 import 'package:analyzer/src/generated/java_engine.dart'; | 19 import 'package:analyzer/src/generated/java_engine.dart'; |
| 19 import 'package:analyzer/options.dart'; | 20 import 'package:analyzer/options.dart'; |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 stdout.writeln('>>> TEST $resultPassString ${stopwatch.elapsedMillisecon
ds}ms'); | 139 stdout.writeln('>>> TEST $resultPassString ${stopwatch.elapsedMillisecon
ds}ms'); |
| 139 } catch (e, stackTrace) { | 140 } catch (e, stackTrace) { |
| 140 stderr.writeln(e); | 141 stderr.writeln(e); |
| 141 stderr.writeln(stackTrace); | 142 stderr.writeln(stackTrace); |
| 142 stderr.writeln('>>> EOF STDERR'); | 143 stderr.writeln('>>> EOF STDERR'); |
| 143 stdout.writeln('>>> TEST CRASH'); | 144 stdout.writeln('>>> TEST CRASH'); |
| 144 } | 145 } |
| 145 }); | 146 }); |
| 146 } | 147 } |
| 147 } | 148 } |
| OLD | NEW |