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