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

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

Issue 2675103003: Refactor BackendHelpers to be reusageable with KernelWorldBuilder (Closed)
Patch Set: Updated cf. comments Created 3 years, 10 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 | « pkg/compiler/lib/src/common/backend_api.dart ('k') | pkg/compiler/lib/src/compiler.dart » ('j') | no next file with comments »
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 33f80229faea98fef9df4988b761fa5ab9f42775..3f54e2ea1728d82537d1c47a040c4a68d2aa3407 100644
--- a/pkg/compiler/lib/src/common/resolution.dart
+++ b/pkg/compiler/lib/src/common/resolution.dart
@@ -213,9 +213,12 @@ abstract class Resolution implements Frontend {
/// A container of commonly used dependencies for tasks that involve parsing.
abstract class ParsingContext {
- factory ParsingContext(DiagnosticReporter reporter, ParserTask parser,
- ScannerTask scanner, PatchParserTask patchParser, Backend backend)
- = _ParsingContext;
+ factory ParsingContext(
+ DiagnosticReporter reporter,
+ ParserTask parser,
+ ScannerTask scanner,
+ PatchParserTask patchParser,
+ Backend backend) = _ParsingContext;
DiagnosticReporter get reporter;
ParserTask get parser;
@@ -241,8 +244,8 @@ class _ParsingContext implements ParsingContext {
final PatchParserTask patchParser;
final Backend backend;
- _ParsingContext(this.reporter, this.parser, this.scanner, this.patchParser,
- this.backend);
+ _ParsingContext(
+ this.reporter, this.parser, this.scanner, this.patchParser, this.backend);
@override
measure(f()) => parser.measure(f);
« no previous file with comments | « pkg/compiler/lib/src/common/backend_api.dart ('k') | pkg/compiler/lib/src/compiler.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698