Package com.oracle.truffle.api.dsl
Annotation Type NodeChild
A
NodeChild
element defines an executable child for the enclosing Node
. A
Node
contains multiple NodeChildren
specified in linear execution order.-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionString[]
TheexecuteWith()
property allows a node to pass the result of one child's executable as an input to another child's executable.Class<?>
-
Element Details
-
value
String value- Default:
- ""
-
type
Class<?> type- Default:
- com.oracle.truffle.api.nodes.Node.class
-
executeWith
String[] executeWithTheexecuteWith()
property allows a node to pass the result of one child's executable as an input to another child's executable. These referenced children must be defined before the current node in the execution order. The current nodetype()
attribute must be set to aNode
which supports the evaluated execution with the number ofexecuteWith()
arguments that are defined. For example if this child is executed with one argument, thetype()
attribute must define a node which publicly declares a method with the signatureObject execute*(VirtualFrame, Object)
.- Default:
- {}
-