|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Target(value=METHOD) public @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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |