Class DefineMethodNode.FunctionCreateNode
java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.js.nodes.JavaScriptBaseNode
com.oracle.truffle.js.nodes.function.DefineMethodNode.FunctionCreateNode
- All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface, Cloneable
- Enclosing class:
DefineMethodNode
-
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
ConstructorsModifierConstructorDescriptionprotectedFunctionCreateNode(JSContext context, JSFunctionData functionData, int blockScopeSlot) -
Method Summary
Modifier and TypeMethodDescriptioncreate(JSContext context, JSFunctionData functionData, int blockScopeSlot) protected final JSFunctionObjectdoCached(com.oracle.truffle.api.frame.VirtualFrame frame, JSDynamicObject prototype, JSDynamicObject cachedPrototype, JSFunctionFactory factory) protected final JSFunctionObjectdoMultiContext(com.oracle.truffle.api.frame.VirtualFrame frame, JSObject prototype, JSFunctionFactory factory) protected final JSFunctionObjectdoNonObject(Object prototype) protected final JSFunctionObjectdoUncached(com.oracle.truffle.api.frame.VirtualFrame frame, JSObject prototype) abstract JSFunctionObjectexecuteWithPrototype(com.oracle.truffle.api.frame.VirtualFrame frame, Object prototype) protected final JSFunctionFactorymakeFactory(JSDynamicObject prototype) protected final JSFunctionFactoryprotected final JSFunctionObjectmakeFunction(com.oracle.truffle.api.frame.VirtualFrame frame, JSFunctionFactory factory, JSDynamicObject prototype) Methods 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
-
FunctionCreateNode
-
-
Method Details
-
create
public static DefineMethodNode.FunctionCreateNode create(JSContext context, JSFunctionData functionData, int blockScopeSlot) -
executeWithPrototype
public abstract JSFunctionObject executeWithPrototype(com.oracle.truffle.api.frame.VirtualFrame frame, Object prototype) -
doCached
protected final JSFunctionObject doCached(com.oracle.truffle.api.frame.VirtualFrame frame, JSDynamicObject prototype, JSDynamicObject cachedPrototype, JSFunctionFactory factory) -
doUncached
protected final JSFunctionObject doUncached(com.oracle.truffle.api.frame.VirtualFrame frame, JSObject prototype) -
doMultiContext
protected final JSFunctionObject doMultiContext(com.oracle.truffle.api.frame.VirtualFrame frame, JSObject prototype, JSFunctionFactory factory) -
makeFactory
-
makeFactoryMultiContext
-
makeFunction
protected final JSFunctionObject makeFunction(com.oracle.truffle.api.frame.VirtualFrame frame, JSFunctionFactory factory, JSDynamicObject prototype) -
doNonObject
-