java.lang.Object
com.github.curiousoddman.rgxgen.nodes.Node
com.github.curiousoddman.rgxgen.nodes.Repeat

public class Repeat extends Node
  • Constructor Details

    • Repeat

      public Repeat(String pattern, Node node, int times)
    • Repeat

      public Repeat(String pattern, Node node, int min, int max)
  • Method Details

    • visit

      public void visit(NodeVisitor visitor)
      Specified by:
      visit in class Node
    • getNode

      public Node getNode()
    • getMin

      public int getMin()
    • getMax

      public int getMax()
    • toString

      public String toString()
      Overrides:
      toString in class Object