|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Target(value=TYPE) public @interface BuildParseTree
Annotation that can be used on the parser class itself.
Instructs parboiled to build a parse tree during a parsing run. When this annotation is present on the parser class
the parse tree building can be further tweaked by decorating certain rules with SuppressNode
,
SuppressSubnodes
and/or SkipNode
. When this annotation is not present on the parser class the listed
rule annotations do not have any effect because no parse tree is build at all.
Note: If the input contains parse errors and you use the RecoveringParseRunner
parboiled
will create parse tree nodes for all rules that have recorded parse errors (note that this always includes the root
rule)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |