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