CachingModuleScriptProviderBase.CachedModuleScript (rhino 1.7.15 API)

Package org.mozilla.javascript.commonjs.module.provider

## Class CachingModuleScriptProviderBase.CachedModuleScript

- java.lang.Object
- - org.mozilla.javascript.commonjs.module.provider.CachingModuleScriptProviderBase.CachedModuleScript

- Enclosing class:
    CachingModuleScriptProviderBase

      public static class CachingModuleScriptProviderBase.CachedModuleScript
      extends java.lang.Object

  Instances of this class represent a loaded and cached module script.

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `CachedModuleScript​(ModuleScript moduleScript, java.lang.Object validator)` | Creates a new cached module script.

  - ### Method Summary

    - ### Methods inherited from class java.lang.Object

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

- - ### Constructor Detail

    - #### CachedModuleScript

          public CachedModuleScript​(ModuleScript moduleScript,
                                    java.lang.Object validator)

      Creates a new cached module script.
      Parameters:
        `moduleScript` - the module script itself
        `validator` - a validator for the moduleScript's source text entity.