Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(363)

Side by Side Diff: pkg/compiler/lib/src/common/resolution.dart

Issue 1859543002: Revert "Introduces `ParserOptions`." (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « pkg/compiler/lib/src/apiimpl.dart ('k') | pkg/compiler/lib/src/compiler.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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;
34 import '../parser/element_listener.dart' show 32 import '../parser/element_listener.dart' show
35 ScannerOptions; 33 ScannerOptions;
36 import '../tree/tree.dart' show 34 import '../tree/tree.dart' show
37 AsyncForIn, 35 AsyncForIn,
38 Send, 36 Send,
39 TypeAnnotation; 37 TypeAnnotation;
40 import '../universe/world_impact.dart' show 38 import '../universe/world_impact.dart' show
41 WorldImpact; 39 WorldImpact;
42 import 'work.dart' show 40 import 'work.dart' show
43 ItemCompilationContext, 41 ItemCompilationContext,
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 /// impact. 208 /// impact.
211 void emptyCache(); 209 void emptyCache();
212 } 210 }
213 211
214 // TODO(johnniwinther): Rename to `Parser` or `ParsingContext`. 212 // TODO(johnniwinther): Rename to `Parser` or `ParsingContext`.
215 abstract class Parsing { 213 abstract class Parsing {
216 DiagnosticReporter get reporter; 214 DiagnosticReporter get reporter;
217 void parsePatchClass(ClassElement cls); 215 void parsePatchClass(ClassElement cls);
218 measure(f()); 216 measure(f());
219 ScannerOptions getScannerOptionsFor(Element element); 217 ScannerOptions getScannerOptionsFor(Element element);
220 ParserOptions get parserOptions;
221 } 218 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/apiimpl.dart ('k') | pkg/compiler/lib/src/compiler.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698