Package org.jline.builtins
Class NfaMatcher<T>
java.lang.Object
org.jline.builtins.NfaMatcher<T>
NFA implementation.
See https://swtch.com/~rsc/regexp/regexp1.html
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static class(package private) static class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final BiFunction<T, String, Boolean> private final Stringprivate NfaMatcher.State -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) voidvoidcompile()booleanmatchPartial(List<T> args) Returns the list of possible matcher names for the next object(package private) static NfaMatcher.State
-
Field Details
-
regexp
-
matcher
-
start
-
-
Constructor Details
-
NfaMatcher
-
-
Method Details
-
compile
public void compile() -
match
-
matchPartial
Returns the list of possible matcher names for the next object- Parameters:
args- input list- Returns:
- the list of possible matcher names for the next object
-
addState
-
toNfa
-
toPostFix
-