java.lang.Object
swim.vm.js.JsHostLibraryModule
- All Implemented Interfaces:
org.graalvm.polyglot.proxy.Proxy
,org.graalvm.polyglot.proxy.ProxyObject
,JsModule
-
Constructor Summary
ConstructorsConstructorDescriptionJsHostLibraryModule
(JsBridge bridge, JsModuleSystem moduleSystem, UriPath moduleId, HostLibrary library) -
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
org.graalvm.polyglot.Value
final UriPath
moduleId()
final JsModuleSystem
void
boolean
removeMember
(String key)
-
Constructor Details
-
JsHostLibraryModule
public JsHostLibraryModule(JsBridge bridge, JsModuleSystem moduleSystem, UriPath moduleId, HostLibrary library)
-
-
Method Details
-
moduleSystem
- Specified by:
moduleSystem
in interfaceJsModule
-
moduleId
-
moduleExports
public org.graalvm.polyglot.Value moduleExports()- Specified by:
moduleExports
in interfaceJsModule
-
evalModule
public void evalModule()- Specified by:
evalModule
in interfaceJsModule
-
hasMember
- Specified by:
hasMember
in interfaceorg.graalvm.polyglot.proxy.ProxyObject
-
getMember
- Specified by:
getMember
in interfaceorg.graalvm.polyglot.proxy.ProxyObject
-
putMember
- Specified by:
putMember
in interfaceorg.graalvm.polyglot.proxy.ProxyObject
-
removeMember
- Specified by:
removeMember
in interfaceorg.graalvm.polyglot.proxy.ProxyObject
-
getMemberKeys
- Specified by:
getMemberKeys
in interfaceorg.graalvm.polyglot.proxy.ProxyObject
-