Class GenerateExports

java.lang.Object
com.google.javascript.jscomp.GenerateExports
All Implemented Interfaces:
CompilerPass

public class GenerateExports extends Object implements CompilerPass
Generates goog.exportSymbol/goog.exportProperty for the @export annotation.
  • Field Details

    • MISSING_GOOG_FOR_EXPORT

      public static final DiagnosticType MISSING_GOOG_FOR_EXPORT
  • Method Details

    • process

      public void process(Node externs, Node root)
      Description copied from interface: CompilerPass
      Process the JS with root node root. Can modify the contents of each Node tree
      Specified by:
      process in interface CompilerPass
      Parameters:
      externs - Top of external JS tree
      root - Top of JS tree