OLD | NEW |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, 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 scanner; | 5 library scanner; |
6 | 6 |
7 import 'dart:collection' show IterableBase; | 7 import 'dart:collection' show IterableBase, HashSet; |
8 | 8 |
9 import 'scanner_implementation.dart'; | |
10 import '../elements/elements.dart'; | 9 import '../elements/elements.dart'; |
11 import '../elements/modelx.dart' | 10 import '../elements/modelx.dart' |
12 show FunctionElementX, | 11 show FunctionElementX, |
13 TypedefElementX, | 12 TypedefElementX, |
14 VariableElementX, | 13 VariableElementX, |
15 VariableListElementX, | 14 VariableListElementX, |
16 ClassElementX, | 15 ClassElementX, |
17 MetadataAnnotationX, | 16 MetadataAnnotationX, |
18 MixinApplicationElementX; | 17 MixinApplicationElementX; |
19 import '../dart2jslib.dart'; | 18 import '../dart2jslib.dart'; |
20 import '../native_handler.dart' as native; | 19 import '../native_handler.dart' as native; |
21 import '../string_validator.dart'; | 20 import '../string_validator.dart'; |
22 import '../tree/tree.dart'; | 21 import '../tree/tree.dart'; |
23 import '../util/characters.dart'; | 22 import '../util/characters.dart'; |
24 import '../util/util.dart'; | 23 import '../util/util.dart'; |
| 24 import '../source_file.dart' show SourceFile, Utf8BytesSourceFile; |
| 25 import 'dart:convert' show UTF8; |
| 26 import 'dart:typed_data' show Uint8List; |
25 | 27 |
26 part 'class_element_parser.dart'; | 28 part 'class_element_parser.dart'; |
27 part 'keyword.dart'; | 29 part 'keyword.dart'; |
28 part 'listener.dart'; | 30 part 'listener.dart'; |
29 part 'parser.dart'; | 31 part 'parser.dart'; |
30 part 'parser_task.dart'; | 32 part 'parser_task.dart'; |
31 part 'partial_parser.dart'; | 33 part 'partial_parser.dart'; |
32 part 'scanner.dart'; | 34 part 'scanner.dart'; |
33 part 'scanner_task.dart'; | 35 part 'scanner_task.dart'; |
| 36 part 'array_based_scanner.dart'; |
| 37 part 'utf8_bytes_scanner.dart'; |
34 part 'string_scanner.dart'; | 38 part 'string_scanner.dart'; |
35 part 'token.dart'; | 39 part 'token.dart'; |
OLD | NEW |