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

Unified Diff: pkg/compiler/lib/src/patch_parser.dart

Issue 1892183002: Refactor Parsing to remove compiler dependency (Closed) Base URL: git@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 side-by-side diff with in-line comments
Download patch
Index: pkg/compiler/lib/src/patch_parser.dart
diff --git a/pkg/compiler/lib/src/patch_parser.dart b/pkg/compiler/lib/src/patch_parser.dart
index cd78d8c88cbba289c22226a1841fb4639639b3df..9baaeb3542291f2ef9efd23bde2cf221047713b0 100644
--- a/pkg/compiler/lib/src/patch_parser.dart
+++ b/pkg/compiler/lib/src/patch_parser.dart
@@ -216,7 +216,7 @@ class PatchMemberListener extends MemberListener {
PatchMemberListener(Compiler compiler, ClassElement enclosingClass)
: this.compiler = compiler,
- super(compiler.parsing.getScannerOptionsFor(enclosingClass),
+ super(compiler.parsingContext.getScannerOptionsFor(enclosingClass),
compiler.reporter, enclosingClass);
@override
@@ -261,7 +261,7 @@ class PatchElementListener extends ElementListener implements Listener {
PatchElementListener(Compiler compiler, CompilationUnitElement patchElement,
IdGenerator idGenerator)
: this.compiler = compiler,
- super(compiler.parsing.getScannerOptionsFor(patchElement),
+ super(compiler.parsingContext.getScannerOptionsFor(patchElement),
compiler.reporter, patchElement, idGenerator);
@override
« no previous file with comments | « pkg/compiler/lib/src/parser/partial_elements.dart ('k') | pkg/compiler/lib/src/resolution/class_hierarchy.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698