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.nodes.NodeInterface,java.lang.Cloneable
public abstract class InferParentWithinPropertyNode extends ExpressionNode
Infers the parent to amend in `x = new { ... }`.
-
-
Field Summary
-
Fields inherited from class org.pkl.core.ast.PklNode
sourceSection
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedInferParentWithinPropertyNode(com.oracle.truffle.api.source.SourceSection sourceSection, Identifier ownPropertyName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.Objecteval(VmDynamic owner)protected java.lang.Objecteval(VmListing owner)protected java.lang.Objecteval(VmMapping owner)protected java.lang.ObjectevalPrototype(VmTyped owner)protected java.lang.ObjectevalTypedObject(VmTyped owner)-
Methods inherited from class org.pkl.core.ast.ExpressionNode
executeBoolean, executeFloat, executeGeneric, executeInt
-
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
-
-
-
-
Constructor Detail
-
InferParentWithinPropertyNode
protected InferParentWithinPropertyNode(com.oracle.truffle.api.source.SourceSection sourceSection, Identifier ownPropertyName)
-
-
Method Detail
-
evalTypedObject
protected java.lang.Object evalTypedObject(VmTyped owner)
-
evalPrototype
protected java.lang.Object evalPrototype(VmTyped owner)
-
eval
protected java.lang.Object eval(VmDynamic owner)
-
eval
protected java.lang.Object eval(VmListing owner)
-
eval
protected java.lang.Object eval(VmMapping owner)
-
-