Class InferParentWithinObjectMethodNode

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.InferParentWithinObjectMethodNode
All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface, Cloneable

public final class InferParentWithinObjectMethodNode extends ExpressionNode
Infers the parent to amend in `obj { local function createPerson(): Person = new { ... } }`.
  • Constructor Details

    • InferParentWithinObjectMethodNode

      public InferParentWithinObjectMethodNode(com.oracle.truffle.api.source.SourceSection sourceSection, VmLanguage language, Identifier localMethodName, ExpressionNode ownerNode)
  • Method Details