OLD | NEW |
1 | 1 |
2 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
3 // for details. All rights reserved. Use of this source code is governed by a | 3 // for details. All rights reserved. Use of this source code is governed by a |
4 // BSD-style license that can be found in the LICENSE file. | 4 // BSD-style license that can be found in the LICENSE file. |
5 | 5 |
6 library dart2js.common.resolution; | 6 library dart2js.common.resolution; |
7 | 7 |
| 8 import '../common.dart'; |
8 import '../compiler.dart' show | 9 import '../compiler.dart' show |
9 Compiler; | 10 Compiler; |
10 import '../core_types.dart' show | 11 import '../core_types.dart' show |
11 CoreTypes; | 12 CoreTypes; |
12 import '../dart_types.dart' show | 13 import '../dart_types.dart' show |
13 DartType, | 14 DartType, |
14 InterfaceType; | 15 InterfaceType; |
15 import '../diagnostics/diagnostic_listener.dart' show | |
16 DiagnosticReporter; | |
17 import '../elements/elements.dart' show | 16 import '../elements/elements.dart' show |
18 AstElement, | 17 AstElement, |
19 ClassElement, | 18 ClassElement, |
20 Element, | 19 Element, |
21 ErroneousElement, | 20 ErroneousElement, |
22 FunctionElement, | 21 FunctionElement, |
23 FunctionSignature, | 22 FunctionSignature, |
24 LocalFunctionElement, | 23 LocalFunctionElement, |
25 MetadataAnnotation, | 24 MetadataAnnotation, |
26 MethodElement, | 25 MethodElement, |
(...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
414 bool hasBeenResolved(Element element); | 413 bool hasBeenResolved(Element element); |
415 ResolutionWorldImpact analyzeElement(Element element); | 414 ResolutionWorldImpact analyzeElement(Element element); |
416 } | 415 } |
417 | 416 |
418 // TODO(johnniwinther): Rename to `Parser` or `ParsingContext`. | 417 // TODO(johnniwinther): Rename to `Parser` or `ParsingContext`. |
419 abstract class Parsing { | 418 abstract class Parsing { |
420 DiagnosticReporter get reporter; | 419 DiagnosticReporter get reporter; |
421 void parsePatchClass(ClassElement cls); | 420 void parsePatchClass(ClassElement cls); |
422 measure(f()); | 421 measure(f()); |
423 } | 422 } |
OLD | NEW |