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 11 matching lines...) Expand all Loading... |
22 ErroneousElement, | 22 ErroneousElement, |
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 '../options.dart' show |
| 33 ParserOptions; |
32 import '../parser/element_listener.dart' show | 34 import '../parser/element_listener.dart' show |
33 ScannerOptions; | 35 ScannerOptions; |
34 import '../tree/tree.dart' show | 36 import '../tree/tree.dart' show |
35 AsyncForIn, | 37 AsyncForIn, |
36 Send, | 38 Send, |
37 TypeAnnotation; | 39 TypeAnnotation; |
38 import '../universe/world_impact.dart' show | 40 import '../universe/world_impact.dart' show |
39 WorldImpact; | 41 WorldImpact; |
40 import 'work.dart' show | 42 import 'work.dart' show |
41 ItemCompilationContext, | 43 ItemCompilationContext, |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
208 /// impact. | 210 /// impact. |
209 void emptyCache(); | 211 void emptyCache(); |
210 } | 212 } |
211 | 213 |
212 // TODO(johnniwinther): Rename to `Parser` or `ParsingContext`. | 214 // TODO(johnniwinther): Rename to `Parser` or `ParsingContext`. |
213 abstract class Parsing { | 215 abstract class Parsing { |
214 DiagnosticReporter get reporter; | 216 DiagnosticReporter get reporter; |
215 void parsePatchClass(ClassElement cls); | 217 void parsePatchClass(ClassElement cls); |
216 measure(f()); | 218 measure(f()); |
217 ScannerOptions getScannerOptionsFor(Element element); | 219 ScannerOptions getScannerOptionsFor(Element element); |
| 220 ParserOptions get parserOptions; |
218 } | 221 } |
OLD | NEW |