Annotation Interface Label


@Retention(RUNTIME) @Target(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

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Element Details