Class VoidRE


public class VoidRE extends RegExp
  • Constructor Details

    • VoidRE

      public VoidRE()
  • Method Details

    • isVoid

      public boolean isVoid()
      Description copied from class: RegExp
      Whether this RE matches no strings.
      Overrides:
      isVoid in class RegExp
    • nullable

      public boolean nullable()
      Description copied from class: RegExp
      Whether this RE matches the empty string
      Overrides:
      nullable in class RegExp
    • create

      public static RegExp create()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • appendString

      public void appendString(StringBuilder b, int precedence)
      Description copied from class: RegExp
      Append a string representation of the regular expression to the builder b. The precedence of the surrounding context is provided so that necessary parentheses can be added. Precedences: 0 = top level 1 = | 2 = concat 3 = star
      Specified by:
      appendString in class RegExp
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object