Package org.parboiled.annotations
Annotation Type ExplicitActionsOnly
-
@Retention(RUNTIME) @Target({METHOD,TYPE}) public @interface ExplicitActionsOnly
Annotation that can be used on parser rule methods (i.e. methods returning aRule
or the parser class itself. Instructs parboiled to not perform implicit action expression wrapping, i.e. not treat expressions that form parameters to Boolean.valueOf(boolean) calls as action expressions. Instead only expressions wrapped by explicit calls toBaseParser.ACTION(boolean)
will be treated as action expressions.