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
Infers the parent to amend in `function createPerson(): Person = 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 -
Field Summary
Fields inherited from class org.pkl.core.ast.PklNode
sourceSection -
Constructor Summary
ConstructorsConstructorDescriptionInferParentWithinMethodNode(com.oracle.truffle.api.source.SourceSection sourceSection, VmLanguage language, Identifier methodName, ExpressionNode ownerNode) -
Method Summary
Modifier and TypeMethodDescriptionexecuteGeneric(com.oracle.truffle.api.frame.VirtualFrame frame) Methods inherited from class org.pkl.core.ast.ExpressionNode
executeBoolean, executeFloat, executeIntMethods inherited from class org.pkl.core.ast.PklNode
exceptionBuilder, getShortName, getSourceSection, toStringMethods 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
-
Constructor Details
-
InferParentWithinMethodNode
public InferParentWithinMethodNode(com.oracle.truffle.api.source.SourceSection sourceSection, VmLanguage language, Identifier methodName, ExpressionNode ownerNode)
-
-
Method Details
-
executeGeneric
- Specified by:
executeGenericin classExpressionNode
-