Class CachingModuleScriptProviderBase.CachedModuleScript
java.lang.Object
org.mozilla.javascript.commonjs.module.provider.CachingModuleScriptProviderBase.CachedModuleScript
- Enclosing class:
CachingModuleScriptProviderBase
Instances of this class represent a loaded and cached module script.
- Version:
- $Id: CachingModuleScriptProviderBase.java,v 1.3 2011/04/07 20:26:12 hannes%helma.at Exp $
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCachedModuleScript
(ModuleScript moduleScript, Object validator) Creates a new cached module script. -
Method Summary
Modifier and TypeMethodDescription(package private) ModuleScript
Returns the module script.(package private) Object
Returns the validator for the module script's source text entity.
-
Field Details
-
moduleScript
-
validator
-
-
Constructor Details
-
CachedModuleScript
Creates a new cached module script.- Parameters:
moduleScript
- the module script itselfvalidator
- a validator for the moduleScript's source text entity.
-
-
Method Details
-
getModule
ModuleScript getModule()Returns the module script.- Returns:
- the module script.
-
getValidator
Object getValidator()Returns the validator for the module script's source text entity.- Returns:
- the validator for the module script's source text entity.
-