Class NfaMatcher<T>

java.lang.Object
org.jline.builtins.NfaMatcher<T>

public class NfaMatcher<T> extends Object
NFA implementation. See https://swtch.com/~rsc/regexp/regexp1.html
  • Constructor Details

  • Method Details

    • compile

      public void compile()
    • match

      public boolean match(List<T> args)
    • matchPartial

      public Set<String> matchPartial(List<T> args)
      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