public interface Rule
Modifier and Type | Method and Description |
---|---|
Rule |
label(java.lang.String label)
Attaches a label to this Rule.
|
Rule |
memoMismatches()
Enables memoization of rule mismatches for consecutive rule applications at the same input location.
|
Rule |
skipNode()
Instructs parboiled to not create a parse tree node for this rule.
|
Rule |
suppressNode()
Instructs parboiled to not create a parse tree node for this rule and all subrules,
which can significantly increase parsing performance.
|
Rule |
suppressSubnodes()
Instructs parboiled to not create parse tree nodes for the subrules of this rule,
which can significantly increase parsing performance.
|
Rule label(java.lang.String label)
label
- the labelRule suppressNode()
Rule suppressSubnodes()
Rule skipNode()
Context
during rule matching.
Corresponds to the @SkipNode annotation.Rule memoMismatches()