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 import 'dart:typed_data'; | 8 import 'dart:typed_data'; |
9 import 'dart:collection'; | 9 import 'dart:collection'; |
10 import 'dart:utf'; | |
11 | 10 |
12 import '../elements/elements.dart'; | 11 import '../elements/elements.dart'; |
13 import '../scanner/scanner_implementation.dart'; | 12 import '../scanner/scanner_implementation.dart'; |
14 import '../scanner/scannerlib.dart'; | 13 import '../scanner/scannerlib.dart'; |
15 import '../tree/tree.dart'; | 14 import '../tree/tree.dart'; |
16 import '../util/characters.dart'; | 15 import '../util/characters.dart'; |
17 import '../source_file.dart'; | 16 import '../source_file.dart'; |
18 import '../ssa/ssa.dart'; | 17 import '../ssa/ssa.dart'; |
19 | 18 |
20 import '../../compiler.dart' as api; | 19 import '../../compiler.dart' as api; |
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
305 set text(String newText) { | 304 set text(String newText) { |
306 throw "not supported"; | 305 throw "not supported"; |
307 } | 306 } |
308 } | 307 } |
309 | 308 |
310 class Mock { | 309 class Mock { |
311 const Mock(); | 310 const Mock(); |
312 bool get useColors => true; | 311 bool get useColors => true; |
313 internalError(message) { throw message.toString(); } | 312 internalError(message) { throw message.toString(); } |
314 } | 313 } |
OLD | NEW |