public abstract class ExportValueNode extends JavaScriptBaseNode
JSLazyString) and binds Functions. See also JSRuntime.exportValue(Object).JSRuntime.exportValue(Object)| Modifier and Type | Method and Description |
|---|---|
static ExportValueNode |
create() |
protected static com.oracle.truffle.api.interop.TruffleObject |
doAsyncFunction(JSFunctionObject function,
Object thiz,
boolean bindFunctions,
JavaScriptLanguage language) |
protected static BigInt |
doBigInt(BigInt value,
Object thiz,
boolean bindFunctions) |
protected static com.oracle.truffle.api.interop.TruffleObject |
doBindUnboundFunction(JSFunctionObject function,
Object thiz,
boolean bindFunctions,
JavaScriptLanguage language) |
protected static boolean |
doBoolean(boolean value,
Object thiz,
boolean bindFunctions) |
protected static com.oracle.truffle.api.object.DynamicObject |
doBoundFunction(JSFunctionObject function,
Object thiz,
boolean bindFunctions,
JavaScriptLanguage language) |
protected static double |
doDouble(double value,
Object thiz,
boolean bindFunctions) |
protected static float |
doFloat(float value,
Object thiz,
boolean bindFunctions) |
protected static com.oracle.truffle.api.object.DynamicObject |
doFunctionNoBind(JSFunctionObject function,
Object thiz,
boolean bindFunctions,
JavaScriptLanguage language) |
protected static com.oracle.truffle.api.object.DynamicObject |
doFunctionUndefinedThis(JSFunctionObject function,
Object thiz,
boolean bindFunctions,
JavaScriptLanguage language) |
protected static int |
doInt(int value,
Object thiz,
boolean bindFunctions) |
protected static long |
doLong(long value,
Object thiz,
boolean bindFunctions) |
protected static com.oracle.truffle.api.object.DynamicObject |
doObject(com.oracle.truffle.api.object.DynamicObject value,
Object thiz,
boolean bindFunctions) |
protected static Object |
doOther(Object value,
Object thiz,
boolean bindFunctions) |
protected static double |
doSafeInteger(SafeInteger value,
Object thiz,
boolean bindFunctions) |
protected static String |
doString(String value,
Object thiz,
boolean bindFunctions) |
protected static com.oracle.truffle.api.interop.TruffleObject |
doTruffleObject(com.oracle.truffle.api.interop.TruffleObject value,
Object thiz,
boolean bindFunctions) |
Object |
execute(Object value) |
abstract Object |
execute(Object value,
Object thiz,
boolean bindMemberFunctions) |
static ExportValueNode |
getUncached() |
static boolean |
isInteropCompletePromises(JavaScriptLanguage lang) |
copy, onReplaceaccept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, getSourceSection, insert, insert, isAdoptable, isSafelyReplaceableBy, lookupContextReference, lookupLanguageReference, notifyInserted, replace, replace, reportPolymorphicSpecialize, toStringpublic static boolean isInteropCompletePromises(JavaScriptLanguage lang)
protected static com.oracle.truffle.api.object.DynamicObject doFunctionNoBind(JSFunctionObject function, Object thiz, boolean bindFunctions, JavaScriptLanguage language)
protected static com.oracle.truffle.api.object.DynamicObject doFunctionUndefinedThis(JSFunctionObject function, Object thiz, boolean bindFunctions, JavaScriptLanguage language)
protected static com.oracle.truffle.api.interop.TruffleObject doBindUnboundFunction(JSFunctionObject function, Object thiz, boolean bindFunctions, JavaScriptLanguage language)
protected static com.oracle.truffle.api.object.DynamicObject doBoundFunction(JSFunctionObject function, Object thiz, boolean bindFunctions, JavaScriptLanguage language)
protected static com.oracle.truffle.api.interop.TruffleObject doAsyncFunction(JSFunctionObject function, Object thiz, boolean bindFunctions, JavaScriptLanguage language)
protected static double doSafeInteger(SafeInteger value, Object thiz, boolean bindFunctions)
protected static com.oracle.truffle.api.object.DynamicObject doObject(com.oracle.truffle.api.object.DynamicObject value,
Object thiz,
boolean bindFunctions)
protected static int doInt(int value,
Object thiz,
boolean bindFunctions)
protected static long doLong(long value,
Object thiz,
boolean bindFunctions)
protected static float doFloat(float value,
Object thiz,
boolean bindFunctions)
protected static double doDouble(double value,
Object thiz,
boolean bindFunctions)
protected static boolean doBoolean(boolean value,
Object thiz,
boolean bindFunctions)
protected static com.oracle.truffle.api.interop.TruffleObject doTruffleObject(com.oracle.truffle.api.interop.TruffleObject value,
Object thiz,
boolean bindFunctions)
public static ExportValueNode create()
public static ExportValueNode getUncached()