Class ModuleMapCreator

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

public class ModuleMapCreator extends Object implements CompilerPass
Creates a ModuleMap.
  • Field Details

    • DOES_NOT_HAVE_EXPORT

      public static final DiagnosticType DOES_NOT_HAVE_EXPORT
    • DOES_NOT_HAVE_EXPORT_WITH_DETAILS

      public static final DiagnosticType DOES_NOT_HAVE_EXPORT_WITH_DETAILS
  • Constructor Details

  • 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