Class LabelPrefixPredicate<V>

  • Type Parameters:
    V - the type of the value field of a parse tree node
    All Implemented Interfaces:
    Predicate<Node<V>>

    public class LabelPrefixPredicate<V>
    extends Object
    implements Predicate<Node<V>>
    A simple Node predicate determining whether a Node matches a given label prefix. Useful for example for various methods of the ParseTreeUtils.
    • Constructor Detail

      • LabelPrefixPredicate

        public LabelPrefixPredicate​(String labelPrefix)
    • Method Detail