OLD | NEW |
1 // Copyright (c) 2011, 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'); |
| 8 |
7 #import('../../../utils/utf8/utf8.dart'); | 9 #import('../../../utils/utf8/utf8.dart'); |
8 | 10 |
9 #import('../elements/elements.dart'); | 11 #import('../elements/elements.dart'); |
10 #import('../scanner/scanner_implementation.dart'); | 12 #import('../scanner/scanner_implementation.dart'); |
11 #import('../scanner/scannerlib.dart'); | 13 #import('../scanner/scannerlib.dart'); |
12 #import('../tree/tree.dart'); | 14 #import('../tree/tree.dart'); |
13 #import('../util/characters.dart'); | 15 #import('../util/characters.dart'); |
14 | 16 |
15 #source('../../source.dart'); | 17 #source('../../source.dart'); |
16 #source('../scanner/byte_array_scanner.dart'); | 18 #source('../scanner/byte_array_scanner.dart'); |
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
317 String _GREEN_COLOR = '\u001b[32m'; | 319 String _GREEN_COLOR = '\u001b[32m'; |
318 String _RED_COLOR = '\u001b[31m'; | 320 String _RED_COLOR = '\u001b[31m'; |
319 String _MAGENTA_COLOR = '\u001b[35m'; | 321 String _MAGENTA_COLOR = '\u001b[35m'; |
320 String _NO_COLOR = '\u001b[0m'; | 322 String _NO_COLOR = '\u001b[0m'; |
321 | 323 |
322 class Mock { | 324 class Mock { |
323 const Mock(); | 325 const Mock(); |
324 bool get useColors() => true; | 326 bool get useColors() => true; |
325 internalError(message) { throw message.toString(); } | 327 internalError(message) { throw message.toString(); } |
326 } | 328 } |
OLD | NEW |