|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.parboiled.support.LabelPrefixPredicate<V>
V - the type of the value field of a parse tree nodepublic class LabelPrefixPredicate<V>
A simple Node predicate determining whether a Node matches a given label prefix.
Useful for example for various methods of the ParseTreeUtils.
| Constructor Summary | |
|---|---|
LabelPrefixPredicate(java.lang.String labelPrefix)
|
|
| Method Summary | |
|---|---|
boolean |
apply(Node<V> input)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LabelPrefixPredicate(java.lang.String labelPrefix)
| Method Detail |
|---|
public boolean apply(Node<V> input)
apply in interface Predicate<Node<V>>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||