Package com.oracle.truffle.api.dsl
Annotation Type NodeChild
-
@Retention(CLASS) @Target(TYPE) public @interface NodeChild
ANodeChild
element defines an executable child for the enclosingNode
. ANode
contains multipleNodeChildren
specified in linear execution order.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.String[]
executeWith
TheexecuteWith()
property allows a node to pass the result of one child's executable as an input to another child's executable.java.lang.Class<?>
type
java.lang.String
value
-
-
-
-
executeWith
java.lang.String[] executeWith
TheexecuteWith()
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:
- {}
-
-