Class CodePrinter


  • public final class CodePrinter
    extends java.lang.Object
    CodePrinter prints out JS code in either pretty format or compact format.
    See Also:
    CodeGenerator
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  CodePrinter.Builder  
      static class  CodePrinter.Format
      Specifies a format for code generation.
      static interface  CodePrinter.LicenseTracker
      License Trackers are responsible for ensuring that any licensing information attached to nodes is retained in the final output of JSCompiler.
      static class  CodePrinter.SourceAndMappings
      SourceAndMappings bundles together the source and generated SourceMap Mappings for that source.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait