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