org.parboiled.annotations
Annotation Type Label


@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface Label

Annotation that can be used on parser methods returning Rule objects. Instructs parboiled to automatically label the created rules with the given label. If this annotation is not present on a rule method parboiled automatically names the created rules with the method name, unless a DontLabel annotation is present on the method or the parser class.


Required Element Summary
 java.lang.String value
           
 

Element Detail

value

public abstract java.lang.String value