Class DefineMethodNode
java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.js.nodes.JavaScriptBaseNode
com.oracle.truffle.js.nodes.function.DefineMethodNode
- All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface,Cloneable
-
Nested Class Summary
Nested ClassesNested 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
ConstructorsModifierConstructorDescriptionprotectedDefineMethodNode(JSContext context, JSFunctionData functionData, int blockScopeSlot) -
Method Summary
Modifier and TypeMethodDescriptionstatic DefineMethodNodecreate(JSContext context, JSFunctionExpressionNode functionExpressionNode, int blockScopeSlot) execute(com.oracle.truffle.api.frame.VirtualFrame frame, JSDynamicObject homeObject, JSDynamicObject functionPrototype) Methods 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
-
Constructor Details
-
DefineMethodNode
-
-
Method Details
-
create
public static DefineMethodNode create(JSContext context, JSFunctionExpressionNode functionExpressionNode, int blockScopeSlot) -
getFunctionData
-
execute
public JSFunctionObject execute(com.oracle.truffle.api.frame.VirtualFrame frame, JSDynamicObject homeObject, JSDynamicObject functionPrototype)
-