Class ForeignObjectPrototypeNode
java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.js.nodes.JavaScriptBaseNode
com.oracle.truffle.js.nodes.interop.ForeignObjectPrototypeNode
- All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface, Cloneable
Node that returns a suitable prototype for a foreign object.
-
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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ForeignObjectPrototypeNodecreate()doTruffleObject(Object truffleObject, com.oracle.truffle.api.interop.InteropLibrary interop) abstract JSDynamicObjectstatic ForeignObjectPrototypeNodeMethods inherited from class 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
-
Constructor Details
-
ForeignObjectPrototypeNode
public ForeignObjectPrototypeNode()
-
-
Method Details
-
execute
-
doTruffleObject
public JSDynamicObject doTruffleObject(Object truffleObject, com.oracle.truffle.api.interop.InteropLibrary interop) -
create
-
getUncached
-