| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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('parser'); | 5 #library('parser'); |
| 6 | 6 |
| 7 #import('dart:io'); | 7 #import('dart:io'); |
| 8 | 8 |
| 9 #import('../../../utf/utf.dart'); | 9 #import('../../../utf/utf.dart'); |
| 10 | 10 |
| 11 #import('../elements/elements.dart'); | 11 #import('../elements/elements.dart'); |
| 12 #import('../scanner/scanner_implementation.dart'); | 12 #import('../scanner/scanner_implementation.dart'); |
| 13 #import('../scanner/scannerlib.dart'); | 13 #import('../scanner/scannerlib.dart'); |
| 14 #import('../tree/tree.dart'); | 14 #import('../tree/tree.dart'); |
| 15 #import('../util/characters.dart'); | 15 #import('../util/characters.dart'); |
| 16 #import('../source_file.dart'); | 16 #import('../source_file.dart'); |
| 17 #import('../ssa/ssa.dart'); |
| 17 | 18 |
| 18 #source('../diagnostic_listener.dart'); | 19 #source('../diagnostic_listener.dart'); |
| 19 #source('../scanner/byte_array_scanner.dart'); | 20 #source('../scanner/byte_array_scanner.dart'); |
| 20 #source('../scanner/byte_strings.dart'); | 21 #source('../scanner/byte_strings.dart'); |
| 21 | 22 |
| 22 int charCount = 0; | 23 int charCount = 0; |
| 23 Stopwatch stopwatch; | 24 Stopwatch stopwatch; |
| 24 | 25 |
| 25 void main() { | 26 void main() { |
| 26 toolMain(new Options().arguments); | 27 toolMain(new Options().arguments); |
| (...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 320 set text(String newText) { | 321 set text(String newText) { |
| 321 throw "not supported"; | 322 throw "not supported"; |
| 322 } | 323 } |
| 323 } | 324 } |
| 324 | 325 |
| 325 class Mock { | 326 class Mock { |
| 326 const Mock(); | 327 const Mock(); |
| 327 bool get useColors() => true; | 328 bool get useColors() => true; |
| 328 internalError(message) { throw message.toString(); } | 329 internalError(message) { throw message.toString(); } |
| 329 } | 330 } |
| OLD | NEW |