Class InferParentWithinPropertyNode

java.lang.Object
com.oracle.truffle.api.nodes.Node
org.pkl.core.ast.PklNode
org.pkl.core.ast.ExpressionNode
org.pkl.core.ast.expression.member.InferParentWithinPropertyNode
All Implemented Interfaces:
com.oracle.truffle.api.instrumentation.InstrumentableNode, com.oracle.truffle.api.nodes.NodeInterface, Cloneable

public abstract class InferParentWithinPropertyNode extends ExpressionNode
Infers the parent to amend in `x = new { ... }`.
  • 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

    Nested classes/interfaces inherited from interface com.oracle.truffle.api.instrumentation.InstrumentableNode

    com.oracle.truffle.api.instrumentation.InstrumentableNode.WrapperNode
  • Field Summary

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

    sourceSection
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    InferParentWithinPropertyNode(com.oracle.truffle.api.source.SourceSection sourceSection, Identifier ownPropertyName)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected Object
    eval(com.oracle.truffle.api.frame.VirtualFrame frame, VmDynamic owner)
     
    protected Object
    eval(com.oracle.truffle.api.frame.VirtualFrame frame, VmListing owner)
     
    protected Object
    eval(com.oracle.truffle.api.frame.VirtualFrame frame, VmMapping owner)
     
    protected Object
    evalPrototype(com.oracle.truffle.api.frame.VirtualFrame frame, VmTyped owner)
     
    protected Object
    evalTypedObject(com.oracle.truffle.api.frame.VirtualFrame frame, VmTyped owner)
     

    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, reportReplace

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.oracle.truffle.api.instrumentation.InstrumentableNode

    createProbe, findNearestNodeAt, findNearestNodeAt, findProbe, getNodeObject, materializeInstrumentableNodes
  • Constructor Details

    • InferParentWithinPropertyNode

      protected InferParentWithinPropertyNode(com.oracle.truffle.api.source.SourceSection sourceSection, Identifier ownPropertyName)
  • Method Details

    • evalTypedObject

      protected Object evalTypedObject(com.oracle.truffle.api.frame.VirtualFrame frame, VmTyped owner)
    • evalPrototype

      protected Object evalPrototype(com.oracle.truffle.api.frame.VirtualFrame frame, VmTyped owner)
    • eval

      protected Object eval(com.oracle.truffle.api.frame.VirtualFrame frame, VmDynamic owner)
    • eval

      protected Object eval(com.oracle.truffle.api.frame.VirtualFrame frame, VmListing owner)
    • eval

      protected Object eval(com.oracle.truffle.api.frame.VirtualFrame frame, VmMapping owner)