Class ExportValueNode
java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.js.nodes.JavaScriptBaseNode
com.oracle.truffle.js.nodes.interop.ExportValueNode
- All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface,Cloneable
This node prepares the export of a value via Interop. It transforms values not allowed in Truffle
and binds Functions.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.oracle.truffle.api.nodes.Node
com.oracle.truffle.api.nodes.Node.Child, com.oracle.truffle.api.nodes.Node.Children -
Method Summary
Modifier and TypeMethodDescriptionstatic ExportValueNodecreate()protected static com.oracle.truffle.api.interop.TruffleObjectdoAsyncFunction(JSFunctionObject function, Object thiz, boolean bindFunctions) protected static BigIntprotected static com.oracle.truffle.api.interop.TruffleObjectdoBindUnboundFunction(JSFunctionObject.Unbound function, Object thiz, boolean bindFunctions) protected static booleanprotected static JSDynamicObjectdoBoundFunction(JSFunctionObject.BoundOrWrapped function, Object thiz, boolean bindFunctions) protected static doubleprotected static floatprotected static JSDynamicObjectdoFunctionNoBind(JSFunctionObject function, Object thiz, boolean bindFunctions) protected static JSDynamicObjectdoFunctionUndefinedThis(JSFunctionObject function, Object thiz, boolean bindFunctions) protected static intprotected static longprotected static JSDynamicObjectdoObject(JSDynamicObject value, Object thiz, boolean bindFunctions) protected static Objectprotected static doubledoSafeInteger(SafeInteger value, Object thiz, boolean bindFunctions) protected static com.oracle.truffle.api.strings.TruffleStringprotected static com.oracle.truffle.api.interop.TruffleObjectdoTruffleObject(com.oracle.truffle.api.interop.TruffleObject value, Object thiz, boolean bindFunctions) final Objectabstract Objectstatic ExportValueNodeprotected final booleanMethods inherited from class com.oracle.truffle.js.nodes.JavaScriptBaseNode
copy, getJSContext, getLanguage, getLanguageOptions, getRealm, hasOverloadedOperators, onReplace, reportLoopCount, reportLoopCountMethods inherited from class com.oracle.truffle.api.nodes.Node
accept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, getSourceSection, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, replace, replace, reportPolymorphicSpecialize, reportReplace, toString
-
Method Details
-
execute
-
execute
-
isInteropCompletePromises
protected final boolean isInteropCompletePromises() -
doFunctionNoBind
protected static JSDynamicObject doFunctionNoBind(JSFunctionObject function, Object thiz, boolean bindFunctions) -
doFunctionUndefinedThis
protected static JSDynamicObject doFunctionUndefinedThis(JSFunctionObject function, Object thiz, boolean bindFunctions) -
doBindUnboundFunction
protected static com.oracle.truffle.api.interop.TruffleObject doBindUnboundFunction(JSFunctionObject.Unbound function, Object thiz, boolean bindFunctions) -
doBoundFunction
protected static JSDynamicObject doBoundFunction(JSFunctionObject.BoundOrWrapped function, Object thiz, boolean bindFunctions) -
doAsyncFunction
protected static com.oracle.truffle.api.interop.TruffleObject doAsyncFunction(JSFunctionObject function, Object thiz, boolean bindFunctions) -
doSafeInteger
-
doObject
protected static JSDynamicObject doObject(JSDynamicObject value, Object thiz, boolean bindFunctions) -
doInt
-
doLong
-
doFloat
-
doDouble
-
doBoolean
-
doBigInt
-
doString
protected static com.oracle.truffle.api.strings.TruffleString doString(com.oracle.truffle.api.strings.TruffleString value, Object thiz, boolean bindFunctions) -
doTruffleObject
protected static com.oracle.truffle.api.interop.TruffleObject doTruffleObject(com.oracle.truffle.api.interop.TruffleObject value, Object thiz, boolean bindFunctions) -
doOther
-
create
-
getUncached
-