- java.lang.Object
-
- swim.vm.js.JsGuestModuleObject
-
- All Implemented Interfaces:
org.graalvm.polyglot.proxy.Proxy
,org.graalvm.polyglot.proxy.ProxyObject
public class JsGuestModuleObject extends Object implements org.graalvm.polyglot.proxy.ProxyObject
-
-
Constructor Summary
Constructors Constructor Description JsGuestModuleObject(JsGuestModule module)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Object
getDynamicMember(String key)
Object
getMember(String key)
Object
getMemberKeys()
protected boolean
hasDynamicMember(String key)
boolean
hasMember(String key)
JsGuestModule
module()
protected void
putDynamicMember(String key, org.graalvm.polyglot.Value value)
void
putMember(String key, org.graalvm.polyglot.Value value)
protected boolean
removeDynamicMember(String key)
boolean
removeMember(String key)
-
-
-
Constructor Detail
-
JsGuestModuleObject
public JsGuestModuleObject(JsGuestModule module)
-
-
Method Detail
-
module
public final JsGuestModule module()
-
hasMember
public boolean hasMember(String key)
- Specified by:
hasMember
in interfaceorg.graalvm.polyglot.proxy.ProxyObject
-
hasDynamicMember
protected boolean hasDynamicMember(String key)
-
getMember
public Object getMember(String key)
- Specified by:
getMember
in interfaceorg.graalvm.polyglot.proxy.ProxyObject
-
putMember
public void putMember(String key, org.graalvm.polyglot.Value value)
- Specified by:
putMember
in interfaceorg.graalvm.polyglot.proxy.ProxyObject
-
putDynamicMember
protected void putDynamicMember(String key, org.graalvm.polyglot.Value value)
-
removeMember
public boolean removeMember(String key)
- Specified by:
removeMember
in interfaceorg.graalvm.polyglot.proxy.ProxyObject
-
removeDynamicMember
protected boolean removeDynamicMember(String key)
-
getMemberKeys
public Object getMemberKeys()
- Specified by:
getMemberKeys
in interfaceorg.graalvm.polyglot.proxy.ProxyObject
-
-