public interface Action<V>
ContextAware interface it will be
used to inform the object of the current parsing Context immediately
before the invocation of the run(com.github.fge.grappa.run.context.Context<V>) method.
Additionally, if the class implementing this interface is an inner class
(anonymous or not) and its outer class(es) implement(s) ContextAware
its outer class(es) will also be informed object of the current parsing
Context immediately before the invocation of the action's run(com.github.fge.grappa.run.context.Context<V>) method.
This allows simple anonymous action class implementations directly in the
parser rule definitions, even when they access context-sensitive methods
defined in the BaseActions or BaseParser classes.
NOTE! IMPORTANT! Right now there is a severe limitation
that an Action instance, if it is to collect a value, must be the
second or later rule of a SequenceMatcher. This limitation will be
removed in the future.
BaseActions.match()