java.lang.Object
swim.vm.js.JsModuleSystem
-
Constructor Summary
ConstructorsConstructorDescriptionJsModuleSystem
(org.graalvm.polyglot.Context jsContext) JsModuleSystem
(org.graalvm.polyglot.Context jsContext, JsModuleLoader moduleLoader) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
evalModule
(JsModule module) final JsModule
static boolean
isRelativeModulePath
(UriPath modulePath) final org.graalvm.polyglot.Context
protected JsModule
loadModule
(UriPath moduleId) final JsModuleLoader
protected final JsModule
openModule
(UriPath moduleId) final JsModule
requireModule
(UriPath moduleId) final JsModule
requireModule
(UriPath basePath, UriPath modulePath) resolveModulePath
(UriPath basePath, UriPath modulePath)
-
Constructor Details
-
JsModuleSystem
-
JsModuleSystem
public JsModuleSystem(org.graalvm.polyglot.Context jsContext)
-
-
Method Details
-
jsContext
public final org.graalvm.polyglot.Context jsContext() -
moduleLoader
-
resolveModulePath
-
getModule
-
requireModule
-
requireModule
-
openModule
-
loadModule
-
evalModule
-
isRelativeModulePath
-