Package org.parboiled.annotations
Annotation Interface SkipNode
Annotation that can be used on parser methods returning
Rule
objects.
Instructs parboiled to not create a parse tree node for this rule. The parse tree nodes of all subrules are
directly attached to the parent of this rule (or more correctly: the first ancestor not carrying @SkipNode).
Note that, even though a rule carrying @SkipNode does not create a parse tree node of its own and is therefore
"invisible" in the parse tree, the rule still exists as a regular rule in the rule tree and is accompanied by
a "regular" rule Context
during rule matching.