Package com.oracle.truffle.api.dsl
Annotation Interface GenerateNodeFactory
Annotate nodes or base classes of nodes to generate factory handlers implementing the
NodeFactory
interface. The generated factory handlers class name starts with the source
original class and ends with 'Factory'.- Since:
- 23.0
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionboolean
Inherits the semantics of the annotation to subclasses.boolean
Iftrue
enables the generation of node factories of thisspecializing
node.
-
Element Details
-
value
boolean valueIftrue
enables the generation of node factories of thisspecializing
node. It is disabled by default.- Since:
- 23.0
- Default:
true
-
inherit
boolean inheritInherits the semantics of the annotation to subclasses.- Since:
- 23.0
- Default:
true
-