Class OutputGeneratorStage
java.lang.Object
com.google.j2cl.transpiler.backend.closure.OutputGeneratorStage
The OutputGeneratorStage contains all necessary information for generating the JavaScript output
and source map files for the transpiler. It is responsible for pulling in native sources and then
generating header, implementation and sourcemap files for each Java Type.
-
Constructor Summary
ConstructorsConstructorDescriptionOutputGeneratorStage(List<com.google.j2cl.common.SourceUtils.FileInfo> nativeJavaScriptFiles, com.google.j2cl.common.OutputUtils.Output output, Path libraryInfoOutputPath, boolean shouldGenerateReadableLibraryInfo, boolean shouldGenerateReadableSourceMaps, boolean generateKytheIndexingMetadata, com.google.j2cl.common.Problems problems) -
Method Summary
Modifier and TypeMethodDescriptionvoidgenerateOutputs(com.google.j2cl.transpiler.ast.Library library)
-
Constructor Details
-
OutputGeneratorStage
public OutputGeneratorStage(List<com.google.j2cl.common.SourceUtils.FileInfo> nativeJavaScriptFiles, com.google.j2cl.common.OutputUtils.Output output, Path libraryInfoOutputPath, boolean shouldGenerateReadableLibraryInfo, boolean shouldGenerateReadableSourceMaps, boolean generateKytheIndexingMetadata, com.google.j2cl.common.Problems problems)
-
-
Method Details
-
generateOutputs
public void generateOutputs(com.google.j2cl.transpiler.ast.Library library)
-