Class GeneratorSpreadNode
java.lang.Object
com.oracle.truffle.api.nodes.Node
org.pkl.core.ast.PklNode
org.pkl.core.ast.expression.generator.GeneratorMemberNode
org.pkl.core.ast.expression.generator.GeneratorSpreadNode
- All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface,Cloneable
-
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
ConstructorsConstructorDescriptionGeneratorSpreadNode(com.oracle.truffle.api.source.SourceSection sourceSection, ExpressionNode iterableNode, boolean nullable) -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoEvalDynamic(com.oracle.truffle.api.frame.VirtualFrame frame, ObjectData data, VmObject iterable) protected VmExceptionduplicateDefinition(Object key, ObjectMember member) protected voideval(com.oracle.truffle.api.frame.VirtualFrame frame, VmClass parent, ObjectData data, VmBytes iterable) protected voideval(com.oracle.truffle.api.frame.VirtualFrame frame, VmClass parent, ObjectData data, VmCollection iterable) protected voideval(com.oracle.truffle.api.frame.VirtualFrame frame, VmClass parent, ObjectData data, VmIntSeq iterable) protected voideval(com.oracle.truffle.api.frame.VirtualFrame frame, VmClass parent, ObjectData data, VmMap iterable) protected voideval(com.oracle.truffle.api.frame.VirtualFrame frame, VmDynamic parent, ObjectData data, VmObject iterable) protected voideval(com.oracle.truffle.api.frame.VirtualFrame frame, VmListing parent, ObjectData data, VmObject iterable) protected voideval(com.oracle.truffle.api.frame.VirtualFrame frame, VmMapping parent, ObjectData data, VmObject iterable) protected voideval(com.oracle.truffle.api.frame.VirtualFrame frame, VmObject parent, ObjectData data, VmBytes iterable) protected voideval(com.oracle.truffle.api.frame.VirtualFrame frame, VmObject parent, ObjectData data, VmCollection iterable) protected voideval(com.oracle.truffle.api.frame.VirtualFrame frame, VmObject parent, ObjectData data, VmIntSeq iterable) protected voideval(com.oracle.truffle.api.frame.VirtualFrame frame, VmObject parent, ObjectData data, VmMap iterable) protected voideval(com.oracle.truffle.api.frame.VirtualFrame frame, VmTyped parent, ObjectData data, VmObject iterable) protected voideval(VmObject parent, ObjectData data, VmNull iterable) protected voidevalDynamicClass(com.oracle.truffle.api.frame.VirtualFrame frame, VmClass parent, ObjectData data, VmObject iterable) protected voidevalListingClass(com.oracle.truffle.api.frame.VirtualFrame frame, VmClass parent, ObjectData data, VmObject iterable) protected voidevalMappingClass(com.oracle.truffle.api.frame.VirtualFrame frame, VmClass parent, ObjectData data, VmObject iterable) protected voidevalTypedClass(com.oracle.truffle.api.frame.VirtualFrame frame, VmClass parent, ObjectData data, VmObject iterable) final voidexecute(com.oracle.truffle.api.frame.VirtualFrame frame, Object parent, ObjectData data) protected abstract voidexecuteWithIterable(com.oracle.truffle.api.frame.VirtualFrame frame, Object parent, ObjectData data, Object iterable) protected voidfallback(com.oracle.truffle.api.frame.VirtualFrame frame, Object parent, ObjectData data, Object iterable) Methods inherited from class org.pkl.core.ast.expression.generator.GeneratorMemberNode
checkIsValidTypedProperty, isTypedObjectClassMethods 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, reportReplace
-
Constructor Details
-
GeneratorSpreadNode
public GeneratorSpreadNode(com.oracle.truffle.api.source.SourceSection sourceSection, ExpressionNode iterableNode, boolean nullable)
-
-
Method Details
-
executeWithIterable
protected abstract void executeWithIterable(com.oracle.truffle.api.frame.VirtualFrame frame, Object parent, ObjectData data, Object iterable) -
execute
public final void execute(com.oracle.truffle.api.frame.VirtualFrame frame, Object parent, ObjectData data) - Specified by:
executein classGeneratorMemberNode
-
eval
-
eval
protected void eval(com.oracle.truffle.api.frame.VirtualFrame frame, VmDynamic parent, ObjectData data, VmObject iterable) -
eval
protected void eval(com.oracle.truffle.api.frame.VirtualFrame frame, VmListing parent, ObjectData data, VmObject iterable) -
eval
protected void eval(com.oracle.truffle.api.frame.VirtualFrame frame, VmMapping parent, ObjectData data, VmObject iterable) -
evalDynamicClass
protected void evalDynamicClass(com.oracle.truffle.api.frame.VirtualFrame frame, VmClass parent, ObjectData data, VmObject iterable) -
evalListingClass
protected void evalListingClass(com.oracle.truffle.api.frame.VirtualFrame frame, VmClass parent, ObjectData data, VmObject iterable) -
evalMappingClass
protected void evalMappingClass(com.oracle.truffle.api.frame.VirtualFrame frame, VmClass parent, ObjectData data, VmObject iterable) -
evalTypedClass
protected void evalTypedClass(com.oracle.truffle.api.frame.VirtualFrame frame, VmClass parent, ObjectData data, VmObject iterable) -
eval
protected void eval(com.oracle.truffle.api.frame.VirtualFrame frame, VmTyped parent, ObjectData data, VmObject iterable) -
eval
protected void eval(com.oracle.truffle.api.frame.VirtualFrame frame, VmObject parent, ObjectData data, VmMap iterable) -
eval
protected void eval(com.oracle.truffle.api.frame.VirtualFrame frame, VmClass parent, ObjectData data, VmMap iterable) -
eval
protected void eval(com.oracle.truffle.api.frame.VirtualFrame frame, VmObject parent, ObjectData data, VmCollection iterable) -
eval
protected void eval(com.oracle.truffle.api.frame.VirtualFrame frame, VmClass parent, ObjectData data, VmCollection iterable) -
eval
protected void eval(com.oracle.truffle.api.frame.VirtualFrame frame, VmObject parent, ObjectData data, VmIntSeq iterable) -
eval
protected void eval(com.oracle.truffle.api.frame.VirtualFrame frame, VmClass parent, ObjectData data, VmIntSeq iterable) -
eval
protected void eval(com.oracle.truffle.api.frame.VirtualFrame frame, VmObject parent, ObjectData data, VmBytes iterable) -
eval
protected void eval(com.oracle.truffle.api.frame.VirtualFrame frame, VmClass parent, ObjectData data, VmBytes iterable) -
fallback
protected void fallback(com.oracle.truffle.api.frame.VirtualFrame frame, Object parent, ObjectData data, Object iterable) -
doEvalDynamic
protected void doEvalDynamic(com.oracle.truffle.api.frame.VirtualFrame frame, ObjectData data, VmObject iterable) -
duplicateDefinition
- Overrides:
duplicateDefinitionin classGeneratorMemberNode
-