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

Unified Diff: lib/src/codegen/code_generator.dart

Issue 973433003: Initial cut for a development server (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 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 | « lib/devc.dart ('k') | lib/src/codegen/dart_codegen.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/codegen/code_generator.dart
diff --git a/lib/src/codegen/code_generator.dart b/lib/src/codegen/code_generator.dart
index d7b88dabfa54d0084ffe815c497c212a1e5da6bc..9ca57166e566c9f4310a6e6b2eb04660b268c4e4 100644
--- a/lib/src/codegen/code_generator.dart
+++ b/lib/src/codegen/code_generator.dart
@@ -129,18 +129,6 @@ abstract class CodeGenerator {
CodeGenerator(String outDir, this.root, this.rules)
: outDir = path.absolute(outDir);
- // TODO(jmesserly): JS generates per library outputs, so it does not use this
- // method and instead overrides generateLibrary.
- void generateUnit(CompilationUnit unit, LibraryInfo info, String libraryDir) {
- }
-
void generateLibrary(Iterable<CompilationUnit> units, LibraryInfo info,
- CheckerReporter reporter) {
- for (var unit in units) {
- var outputDir = makeOutputDirectory(info, unit);
- reporter.enterSource(unit.element.source);
- generateUnit(unit, info, outputDir);
- reporter.leaveSource();
- }
- }
+ CheckerReporter reporter);
}
« no previous file with comments | « lib/devc.dart ('k') | lib/src/codegen/dart_codegen.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698