Class GatherModuleMetadata

  • All Implemented Interfaces:
    CompilerPass

    public final class GatherModuleMetadata
    extends java.lang.Object
    implements CompilerPass
    Gathers metadata around modules that is useful for checking imports / requires and creates a ModuleMetadataMap.
    • Method Detail

      • 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