public static final class ObjectLiteralNode.MakeMethodNode extends JavaScriptNode implements FunctionNameHolder.Delegate
com.oracle.truffle.api.nodes.Node.Child, com.oracle.truffle.api.nodes.Node.ChildrenFunctionNameHolder.DelegateINTERMEDIATE_VALUE| Modifier and Type | Method and Description |
|---|---|
protected JavaScriptNode |
copyUninitialized(Set<Class<? extends com.oracle.truffle.api.instrumentation.Tag>> materializedTags) |
static JavaScriptNode |
create(JSContext context,
JavaScriptNode functionNode) |
static JavaScriptNode |
createWithKey(JSContext context,
JavaScriptNode functionNode,
com.oracle.truffle.api.object.HiddenKey key) |
Object |
execute(com.oracle.truffle.api.frame.VirtualFrame frame)
Executes this node using the specified context and frame and returns the result value.
|
Object |
executeWithObject(com.oracle.truffle.api.frame.VirtualFrame frame,
JSDynamicObject obj,
JSRealm realm) |
FunctionNameHolder |
getFunctionNameHolder() |
addCallTag, addExpressionTag, addRootBodyTag, addStatementTag, cloneUninitialized, cloneUninitialized, copy, createWrapper, executeBoolean, executeDouble, executeInt, executeLong, executeVoid, expressionToString, findBlockScopeNode, getSourceSection, hasSourceSection, hasTag, isInstrumentable, isResultAlwaysOfType, onReplace, removeSourceSection, setSourceSection, setSourceSection, toString, transferSourceSection, transferSourceSectionAddExpressionTag, transferSourceSectionAndTagsgetLanguage, getRealm, hasOverloadedOperatorsaccept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, replace, replace, reportPolymorphicSpecializeclone, equals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetFunctionName, isAnonymous, setFunctionNamepublic static JavaScriptNode create(JSContext context, JavaScriptNode functionNode)
public static JavaScriptNode createWithKey(JSContext context, JavaScriptNode functionNode, com.oracle.truffle.api.object.HiddenKey key)
public Object execute(com.oracle.truffle.api.frame.VirtualFrame frame)
JavaScriptNodeexecute in class JavaScriptNodeframe - the frame of the currently executing guest language methodpublic Object executeWithObject(com.oracle.truffle.api.frame.VirtualFrame frame, JSDynamicObject obj, JSRealm realm)
public FunctionNameHolder getFunctionNameHolder()
getFunctionNameHolder in interface FunctionNameHolder.Delegateprotected JavaScriptNode copyUninitialized(Set<Class<? extends com.oracle.truffle.api.instrumentation.Tag>> materializedTags)
copyUninitialized in class JavaScriptNode