@Documented @Retention(value=RUNTIME) @Target(value=METHOD) public @interface Cached
Rules having arguments
This annotation can be used on rules with arguments; for instance:
Rule matchChar(final char c)
{
return Ch(c);
}
The generated parser will then have a HashMap whose keys are
CacheArguments instances and values are Rules.
You must not use this annotation for rules having no arguments (this will raise an error).