Package org.parboiled.annotations
Annotation Type Cached
-
@Retention(RUNTIME) @Target(METHOD) public @interface CachedAnnotation that can be used on parser methods returningRules and having parameters. Instructs parboiled to automatically cache the method return value for the parameters it was created with. Note that all parser methods returningRuleobjects and not taking any parameter are automatically cached and are therefore not allowed to carry this annotation.