Class InferParentWithinMethodNode

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

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

    • InferParentWithinMethodNode

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