Class AmendFunctionNode

java.lang.Object
com.oracle.truffle.api.nodes.Node
org.pkl.core.ast.PklNode
org.pkl.core.ast.expression.literal.AmendFunctionNode
All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface, Cloneable

public final class AmendFunctionNode extends PklNode
  • 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
  • Field Summary

    Fields inherited from class org.pkl.core.ast.PklNode

    sourceSection
  • Constructor Summary

    Constructors
    Constructor
    Description
    AmendFunctionNode(ObjectLiteralNode hostNode, TypeNode[] parameterTypeNodes, com.oracle.truffle.api.frame.FrameDescriptor hostFrameDescriptor)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    execute(com.oracle.truffle.api.frame.VirtualFrame frame, VmFunction functionToAmend)
     

    Methods inherited from class org.pkl.core.ast.PklNode

    exceptionBuilder, getShortName, getSourceSection, toString

    Methods inherited from class com.oracle.truffle.api.nodes.Node

    accept, adoptChildren, atomic, atomic, copy, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, onReplace, replace, replace, reportPolymorphicSpecialize

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • AmendFunctionNode

      public AmendFunctionNode(ObjectLiteralNode hostNode, TypeNode[] parameterTypeNodes, com.oracle.truffle.api.frame.FrameDescriptor hostFrameDescriptor)
  • Method Details

    • execute

      public VmFunction execute(com.oracle.truffle.api.frame.VirtualFrame frame, VmFunction functionToAmend)