|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Rule
Describes the return values of parser rule production methods.
Method Summary | |
---|---|
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. |
Method Detail |
---|
Rule label(java.lang.String label)
label
- the label
Rule suppressNode()
Rule suppressSubnodes()
Rule skipNode()
Context
during rule matching.
Corresponds to the @SkipNode annotation.
Rule memoMismatches()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |