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

Unified Diff: pkg/compiler/lib/src/common/resolution.dart

Issue 1789553003: Introduces `ParserOptions`. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | pkg/compiler/lib/src/compiler.dart » ('j') | pkg/compiler/lib/src/parser/parser.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/common/resolution.dart
diff --git a/pkg/compiler/lib/src/common/resolution.dart b/pkg/compiler/lib/src/common/resolution.dart
index e422ef819b0af49abe6f90f67e3ef69cd32d453d..549b5874b92a3447df7df8a097c3ccaf6909d35f 100644
--- a/pkg/compiler/lib/src/common/resolution.dart
+++ b/pkg/compiler/lib/src/common/resolution.dart
@@ -31,6 +31,8 @@ import '../enqueue.dart' show
ResolutionEnqueuer;
import '../parser/element_listener.dart' show
ScannerOptions;
+import '../parser/parser.dart' show
+ ParserOptions;
import '../tree/tree.dart' show
AsyncForIn,
Send,
@@ -205,6 +207,7 @@ abstract class Resolution {
// TODO(johnniwinther): Rename to `Parser` or `ParsingContext`.
abstract class Parsing {
+ ParserOptions get parserOptions;
DiagnosticReporter get reporter;
void parsePatchClass(ClassElement cls);
measure(f());
« no previous file with comments | « no previous file | pkg/compiler/lib/src/compiler.dart » ('j') | pkg/compiler/lib/src/parser/parser.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698