protected abstract static class DefineMethodNode.FunctionCreateNode extends JavaScriptBaseNode
| Modifier | Constructor and Description |
|---|---|
protected |
FunctionCreateNode(JSContext context,
JSFunctionData functionData,
int blockScopeSlot) |
| Modifier and Type | Method and Description |
|---|---|
static DefineMethodNode.FunctionCreateNode |
create(JSContext context,
JSFunctionData functionData,
int blockScopeSlot) |
protected JSFunctionObject |
doCached(com.oracle.truffle.api.frame.VirtualFrame frame,
JSDynamicObject prototype,
JSDynamicObject cachedPrototype,
JSFunctionFactory factory) |
protected JSFunctionObject |
doMultiContext(com.oracle.truffle.api.frame.VirtualFrame frame,
JSObject prototype,
JSFunctionFactory factory) |
protected JSFunctionObject |
doNonObject(Object prototype) |
protected JSFunctionObject |
doUncached(com.oracle.truffle.api.frame.VirtualFrame frame,
JSObject prototype) |
abstract JSFunctionObject |
executeWithPrototype(com.oracle.truffle.api.frame.VirtualFrame frame,
Object prototype) |
protected JSFunctionFactory |
makeFactory(JSDynamicObject prototype) |
protected JSFunctionFactory |
makeFactoryMultiContext() |
protected JSFunctionObject |
makeFunction(com.oracle.truffle.api.frame.VirtualFrame frame,
JSFunctionFactory factory,
JSDynamicObject prototype) |
copy, getLanguage, getRealm, hasOverloadedOperators, onReplaceaccept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, getSourceSection, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, replace, replace, reportPolymorphicSpecialize, toStringprotected FunctionCreateNode(JSContext context, JSFunctionData functionData, int blockScopeSlot)
public static DefineMethodNode.FunctionCreateNode create(JSContext context, JSFunctionData functionData, int blockScopeSlot)
public abstract JSFunctionObject executeWithPrototype(com.oracle.truffle.api.frame.VirtualFrame frame, Object prototype)
protected final JSFunctionObject doCached(com.oracle.truffle.api.frame.VirtualFrame frame, JSDynamicObject prototype, JSDynamicObject cachedPrototype, JSFunctionFactory factory)
protected final JSFunctionObject doUncached(com.oracle.truffle.api.frame.VirtualFrame frame, JSObject prototype)
protected final JSFunctionObject doMultiContext(com.oracle.truffle.api.frame.VirtualFrame frame, JSObject prototype, JSFunctionFactory factory)
protected final JSFunctionFactory makeFactory(JSDynamicObject prototype)
protected final JSFunctionFactory makeFactoryMultiContext()
protected final JSFunctionObject makeFunction(com.oracle.truffle.api.frame.VirtualFrame frame, JSFunctionFactory factory, JSDynamicObject prototype)
protected final JSFunctionObject doNonObject(Object prototype)