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); |
} |