| Package | Description |
|---|---|
| org.htmlunit.corejs.javascript.commonjs.module | |
| org.htmlunit.corejs.javascript.commonjs.module.provider |
| Modifier and Type | Method and Description |
|---|---|
RequireBuilder |
RequireBuilder.setModuleScriptProvider(ModuleScriptProvider moduleScriptProvider)
Sets the
ModuleScriptProvider for the Require instances that this builder
builds. |
| Constructor and Description |
|---|
Require(Context cx,
Scriptable nativeScope,
ModuleScriptProvider moduleScriptProvider,
Script preExec,
Script postExec,
boolean sandboxed)
Creates a new instance of the require() function.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CachingModuleScriptProviderBase
Abstract base class that implements caching of loaded module scripts.
|
class |
MultiModuleScriptProvider
A multiplexer for module script providers.
|
class |
SoftCachingModuleScriptProvider
A module script provider that uses a module source provider to load modules and caches the loaded
modules.
|
class |
StrongCachingModuleScriptProvider
A module script provider that uses a module source provider to load modules and caches the loaded
modules.
|
| Constructor and Description |
|---|
MultiModuleScriptProvider(Iterable<? extends ModuleScriptProvider> providers)
Creates a new multiplexing module script provider tht gathers the specified providers
|
Copyright © 2025 HtmlUnit. All rights reserved.