| 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 '../common.dart'; |
| 9 import '../compiler.dart' show | 9 import '../compiler.dart' show |
| 10 Compiler; | 10 Compiler; |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 FunctionElement, | 23 FunctionElement, |
| 24 FunctionSignature, | 24 FunctionSignature, |
| 25 LocalFunctionElement, | 25 LocalFunctionElement, |
| 26 MetadataAnnotation, | 26 MetadataAnnotation, |
| 27 MethodElement, | 27 MethodElement, |
| 28 TypedefElement, | 28 TypedefElement, |
| 29 TypeVariableElement; | 29 TypeVariableElement; |
| 30 import '../enqueue.dart' show | 30 import '../enqueue.dart' show |
| 31 ResolutionEnqueuer; | 31 ResolutionEnqueuer; |
| 32 import '../parser/element_listener.dart' show | 32 import '../parser/element_listener.dart' show |
| 33 ParserOptions, |
| 33 ScannerOptions; | 34 ScannerOptions; |
| 34 import '../tree/tree.dart' show | 35 import '../tree/tree.dart' show |
| 35 AsyncForIn, | 36 AsyncForIn, |
| 36 Send, | 37 Send, |
| 37 TypeAnnotation; | 38 TypeAnnotation; |
| 38 import '../universe/world_impact.dart' show | 39 import '../universe/world_impact.dart' show |
| 39 WorldImpact; | 40 WorldImpact; |
| 40 import 'work.dart' show | 41 import 'work.dart' show |
| 41 ItemCompilationContext, | 42 ItemCompilationContext, |
| 42 WorkItem; | 43 WorkItem; |
| (...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 202 /// impact. | 203 /// impact. |
| 203 void emptyCache(); | 204 void emptyCache(); |
| 204 } | 205 } |
| 205 | 206 |
| 206 // TODO(johnniwinther): Rename to `Parser` or `ParsingContext`. | 207 // TODO(johnniwinther): Rename to `Parser` or `ParsingContext`. |
| 207 abstract class Parsing { | 208 abstract class Parsing { |
| 208 DiagnosticReporter get reporter; | 209 DiagnosticReporter get reporter; |
| 209 void parsePatchClass(ClassElement cls); | 210 void parsePatchClass(ClassElement cls); |
| 210 measure(f()); | 211 measure(f()); |
| 211 ScannerOptions getScannerOptionsFor(Element element); | 212 ScannerOptions getScannerOptionsFor(Element element); |
| 213 ParserOptions get parserOptions; |
| 212 } | 214 } |
| OLD | NEW |