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

Unified Diff: pkg/front_end/lib/src/fasta/target.dart

Issue 2885923002: Rename Target.writeOutline() into computeOutline(), add separate KernelTarget.writeOutline(). (Closed)
Patch Set: Created 3 years, 7 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/front_end/lib/src/fasta/target.dart
diff --git a/pkg/front_end/lib/src/fasta/target.dart b/pkg/front_end/lib/src/fasta/target.dart
index 76f8ad3569a35e62f601ad0a03aa02013056b8a5..88b817e731bdae778312010c847281417a4835f4 100644
--- a/pkg/front_end/lib/src/fasta/target.dart
+++ b/pkg/front_end/lib/src/fasta/target.dart
@@ -10,8 +10,8 @@ import 'ticker.dart' show Ticker;
/// A compilation target.
///
-/// A target reads source files with [read] and writes out the resulting
-/// program when [writeOutline] is called.
+/// A target reads source files with [read] and computes outlines when
+/// [computeOutline] is called.
abstract class Target {
final Ticker ticker;
@@ -20,9 +20,9 @@ abstract class Target {
/// Instructs this target to include [uri] in its result.
void read(Uri uri);
+ /// Compute outlines for all [read] URIs.
+ Future<Null> computeOutline();
+
/// Write the resulting program in the file [uri].
Future writeProgram(Uri uri);
-
- /// Write the resulting outline in the file [uri].
- Future writeOutline(Uri uri);
}
« no previous file with comments | « pkg/front_end/lib/src/fasta/kernel/kernel_target.dart ('k') | pkg/front_end/lib/src/incremental_kernel_generator_impl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698