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, HashSet; | 7 import 'dart:collection' show IterableBase, HashSet; |
8 | 8 |
| 9 import '../common/tasks.dart' show |
| 10 CompilerTask; |
| 11 import '../compiler.dart' show |
| 12 Compiler; |
9 import '../dart_types.dart' show DynamicType; | 13 import '../dart_types.dart' show DynamicType; |
10 import '../diagnostic_listener.dart'; | 14 import '../diagnostic_listener.dart'; |
| 15 import '../diagnostics/invariant.dart' show |
| 16 invariant; |
| 17 import '../diagnostics/spannable.dart' show |
| 18 Spannable, |
| 19 SpannableAssertionFailure; |
11 import '../elements/elements.dart'; | 20 import '../elements/elements.dart'; |
12 | 21 |
13 import '../elements/modelx.dart' show | 22 import '../elements/modelx.dart' show |
14 BaseFunctionElementX, | 23 BaseFunctionElementX, |
15 ClassElementX, | 24 ClassElementX, |
16 CompilationUnitElementX, | 25 CompilationUnitElementX, |
17 ConstructorElementX, | 26 ConstructorElementX, |
18 DeclarationSite, | 27 DeclarationSite, |
19 ElementX, | 28 ElementX, |
20 EnumClassElementX, | 29 EnumClassElementX, |
21 FieldElementX, | 30 FieldElementX, |
22 GetterElementX, | 31 GetterElementX, |
23 MethodElementX, | 32 MethodElementX, |
24 LibraryElementX, | 33 LibraryElementX, |
25 MetadataAnnotationX, | 34 MetadataAnnotationX, |
26 MixinApplicationElementX, | 35 MixinApplicationElementX, |
27 SetterElementX, | 36 SetterElementX, |
28 TypedefElementX, | 37 TypedefElementX, |
29 VariableElementX, | 38 VariableElementX, |
30 VariableList; | 39 VariableList; |
31 | 40 |
32 import '../elements/visitor.dart' | 41 import '../elements/visitor.dart' |
33 show ElementVisitor; | 42 show ElementVisitor; |
34 import '../dart2jslib.dart'; | |
35 import '../messages.dart'; | 43 import '../messages.dart'; |
36 import '../native/native.dart' as native; | 44 import '../native/native.dart' as native; |
37 import '../string_validator.dart'; | 45 import '../string_validator.dart'; |
38 import '../script.dart'; | 46 import '../script.dart'; |
39 import '../tree/tree.dart'; | 47 import '../tree/tree.dart'; |
40 import '../util/characters.dart'; | 48 import '../util/characters.dart'; |
41 import '../util/util.dart'; | 49 import '../util/util.dart'; |
42 import '../io/source_file.dart' show SourceFile, Utf8BytesSourceFile; | 50 import '../io/source_file.dart' show SourceFile, Utf8BytesSourceFile; |
43 import 'dart:convert' show UTF8, UNICODE_BOM_CHARACTER_RUNE; | 51 import 'dart:convert' show UTF8, UNICODE_BOM_CHARACTER_RUNE; |
44 | 52 |
45 part 'class_element_parser.dart'; | 53 part 'class_element_parser.dart'; |
46 part 'keyword.dart'; | 54 part 'keyword.dart'; |
47 part 'listener.dart'; | 55 part 'listener.dart'; |
48 part 'parser.dart'; | 56 part 'parser.dart'; |
49 part 'parser_task.dart'; | 57 part 'parser_task.dart'; |
50 part 'partial_parser.dart'; | 58 part 'partial_parser.dart'; |
51 part 'scanner.dart'; | 59 part 'scanner.dart'; |
52 part 'scanner_task.dart'; | 60 part 'scanner_task.dart'; |
53 part 'array_based_scanner.dart'; | 61 part 'array_based_scanner.dart'; |
54 part 'utf8_bytes_scanner.dart'; | 62 part 'utf8_bytes_scanner.dart'; |
55 part 'string_scanner.dart'; | 63 part 'string_scanner.dart'; |
56 part 'token.dart'; | 64 part 'token.dart'; |
OLD | NEW |