Package org.parboiled.annotations
Annotation Interface Cached
Annotation that can be used on parser methods returning
Rule
s and having parameters.
Instructs parboiled to automatically cache the method return value for the parameters it was created with.
Note that all parser methods returning Rule
objects and not taking any parameter are
automatically cached and are therefore not allowed to carry this annotation.