Class Repeat

java.lang.Object
com.strobel.decompiler.patterns.Pattern
com.strobel.decompiler.patterns.Repeat
All Implemented Interfaces:
INode

public final class Repeat extends Pattern
  • Field Details

    • _node

      private final INode _node
    • _minCount

      private int _minCount
    • _maxCount

      private int _maxCount
  • Constructor Details

    • Repeat

      public Repeat(INode node)
  • Method Details

    • getNode

      public final INode getNode()
    • getMinCount

      public final int getMinCount()
    • setMinCount

      public final void setMinCount(int minCount)
    • getMaxCount

      public final int getMaxCount()
    • setMaxCount

      public final void setMaxCount(int maxCount)
    • matchesCollection

      public final boolean matchesCollection(Role<?> role, INode position, Match match, BacktrackingInfo backtrackingInfo)
      Specified by:
      matchesCollection in interface INode
      Overrides:
      matchesCollection in class Pattern
    • matches

      public boolean matches(INode other, Match match)
      Specified by:
      matches in interface INode
      Specified by:
      matches in class Pattern