| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 engine.resolver; | 5 library engine.resolver; |
| 6 | 6 |
| 7 import "dart:math" as math; | 7 import "dart:math" as math; |
| 8 import 'dart:collection'; | 8 import 'dart:collection'; |
| 9 | 9 |
| 10 import 'package:analyzer/src/generated/utilities_collection.dart'; | 10 import 'package:analyzer/src/generated/utilities_collection.dart'; |
| 11 | 11 |
| 12 import 'ast.dart'; | 12 import 'ast.dart'; |
| 13 import 'constant.dart'; | 13 import 'constant.dart'; |
| 14 import 'element.dart'; | 14 import 'element.dart'; |
| 15 import 'element_resolver.dart'; | 15 import 'element_resolver.dart'; |
| 16 import 'engine.dart'; | 16 import 'engine.dart'; |
| 17 import 'error.dart'; | 17 import 'error.dart'; |
| 18 import 'error_verifier.dart'; | 18 import 'error_verifier.dart'; |
| 19 import 'html.dart' as ht; | 19 import 'html.dart' as ht; |
| 20 import 'java_core.dart'; | 20 import 'java_core.dart'; |
| 21 import 'java_engine.dart'; | 21 import 'java_engine.dart'; |
| 22 import 'scanner.dart' as sc; | 22 import 'scanner.dart' as sc; |
| 23 import 'sdk.dart' show DartSdk, SdkLibrary; | 23 import 'sdk.dart' show DartSdk, SdkLibrary; |
| 24 import 'source.dart'; | 24 import 'source.dart'; |
| 25 import 'static_type_analyzer.dart'; | 25 import 'static_type_analyzer.dart'; |
| 26 import 'utilities_dart.dart'; | 26 import 'utilities_dart.dart'; |
| 27 import 'utilities_general.dart'; | |
| 28 | 27 |
| 29 /** | 28 /** |
| 30 * Callback signature used by ImplicitConstructorBuilder to register | 29 * Callback signature used by ImplicitConstructorBuilder to register |
| 31 * computations to be performed, and their dependencies. A call to this | 30 * computations to be performed, and their dependencies. A call to this |
| 32 * callback indicates that [computation] may be used to compute implicit | 31 * callback indicates that [computation] may be used to compute implicit |
| 33 * constructors for [classElement], but that the computation may not be invoked | 32 * constructors for [classElement], but that the computation may not be invoked |
| 34 * until after implicit constructors have been built for [superclassElement]. | 33 * until after implicit constructors have been built for [superclassElement]. |
| 35 */ | 34 */ |
| 36 typedef void ImplicitConstructorBuilderCallback(ClassElement classElement, | 35 typedef void ImplicitConstructorBuilderCallback(ClassElement classElement, |
| 37 ClassElement superclassElement, void computation()); | 36 ClassElement superclassElement, void computation()); |
| (...skipping 15633 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 15671 * library. | 15670 * library. |
| 15672 */ | 15671 */ |
| 15673 final HashSet<String> members = new HashSet<String>(); | 15672 final HashSet<String> members = new HashSet<String>(); |
| 15674 | 15673 |
| 15675 /** | 15674 /** |
| 15676 * Names of resolved or unresolved class members that are read in the | 15675 * Names of resolved or unresolved class members that are read in the |
| 15677 * library. | 15676 * library. |
| 15678 */ | 15677 */ |
| 15679 final HashSet<String> readMembers = new HashSet<String>(); | 15678 final HashSet<String> readMembers = new HashSet<String>(); |
| 15680 } | 15679 } |
| OLD | NEW |