Package org.rexxla.bsf.engines.rexx
Class RexxScriptEngine.RexxAnnotation
java.lang.Object
org.rexxla.bsf.engines.rexx.RexxScriptEngine.RexxAnnotation
- Enclosing class:
- RexxScriptEngine
Inner class for determining a RexxScript annotation, if one exists, the annotation field will
refer to the appropriate enum value and all fields are filled in to ease processing of the
script's code by the caller.
A Rexx script annotation is a block comment at the very beginning or end of a Rexx statement, which starts with the at character (@) and followed by a name. Optionally the name may be followed by a pair of parenthesis that may contain a single (quoted) Rexx string, which gets interpreted according to the annotation name in hand.
Currently the following Rexx script annotations are defined:
- @SHOWSOURCE
- @GET or @GET( blank delimited string of attribute names to be added as Rexx context variables )
- @SET or @SET[ blank delimited string of attribute names to be updated by their Rexx context variable values )
- Since:
- 2016-11
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe currently supported Rexx script annotation names need to be led in with an at (@) character, the name of the annotation and if values are supplied with it, then they must be given within parenthesis immediately following the annotation name. -
Method Summary