Interface Expression<E>
- All Superinterfaces:
com.google.common.base.Predicate<E>,Predicate<E>
- All Known Implementing Classes:
Expression.AssertionExpression,Expression.BaseExpression,Expression.EndAssertion,Expression.MatchingGroup,Expression.MinMax,Expression.NamedGroup,Expression.NonMatchingGroup,Expression.Option,Expression.Or,Expression.Plus,Expression.Star,Expression.StartAssertion
public interface Expression<E>
extends com.google.common.base.Predicate<E>
Interface for a component of a regular expression.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classA non-consuming expression that matches a token against a property of the text, such as the start or end of a line.static classAn expression with no subexpression that is evaluated against a token using the supplied delegate.static classA non-consuming expression that matches the end of a line.static classRepresents a matching group that is referred to by order number.static classA minimum to maximum number of occurrences of the enclosed expression.static classRepresents a matching group that is referred to by name.static classRepresents a non-matching group.static classZero or one of the enclosed expression.static classDisjunction of two experssions.static classOne or more of the enclosed expression.static classKleene-star: zero or more of the enclosed expression.static classA non-consuming expression that matches the start of a line. -
Method Summary
Methods inherited from interface com.google.common.base.Predicate
apply, equals, test
-
Method Details
-
build
FiniteAutomaton.Automaton<E> build() -
minMatchingLength
int minMatchingLength()
-