Class OutputGeneratorStage

java.lang.Object
com.google.j2cl.transpiler.backend.closure.OutputGeneratorStage

public class OutputGeneratorStage extends Object
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

    Constructors
    Constructor
    Description
    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 Summary

    Modifier and Type
    Method
    Description
    void
    generateOutputs(com.google.j2cl.transpiler.ast.Library library)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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)