public interface RuleMethodProcessor
RuleMethod
All processors defined make use of ASM to manipulate the byte code of generated methods. A given processor may, or may not, apply to a given rule. This depends on what annotations are used on the rule, whether it takes arguments, etc etc.
Modifier and Type | Method and Description |
---|---|
boolean |
appliesTo(ParserClassNode classNode,
RuleMethod method) |
void |
process(ParserClassNode classNode,
RuleMethod method) |
boolean appliesTo(@Nonnull ParserClassNode classNode, @Nonnull RuleMethod method)
void process(@Nonnull ParserClassNode classNode, @Nonnull RuleMethod method) throws Exception
Exception