Package cn.nukkit.plugin.js
Class JSExternal
java.lang.Object
cn.nukkit.plugin.js.JSExternal
- Direct Known Subclasses:
ExternalArray
,ExternalFunction
,ExternalObject
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprotected final org.graalvm.polyglot.Context
protected final org.graalvm.polyglot.Value
-
Constructor Summary
ConstructorDescriptionJSExternal
(org.graalvm.polyglot.Context sourceContext, org.graalvm.polyglot.Value value) -
Method Summary
-
Field Details
-
sourceContext
protected final org.graalvm.polyglot.Context sourceContext -
value
protected final org.graalvm.polyglot.Value value
-
-
Constructor Details
-
JSExternal
public JSExternal(org.graalvm.polyglot.Context sourceContext, org.graalvm.polyglot.Value value)
-
-
Method Details
-
checkAlive
protected final void checkAlive() -
getSourceContext
public org.graalvm.polyglot.Context getSourceContext() -
getValue
public org.graalvm.polyglot.Value getValue() -
isAlive
public boolean isAlive() -
setAlive
public void setAlive(boolean alive) -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-