Class Repeat
java.lang.Object
com.strobel.decompiler.patterns.Pattern
com.strobel.decompiler.patterns.Repeat
- All Implemented Interfaces:
INode
-
Field Summary
FieldsFields inherited from class Pattern
ANY_STRINGFields inherited from interface INode
CHILD_ITERATOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal intfinal intfinal INodegetNode()booleanfinal booleanmatchesCollection(Role<?> role, INode position, Match match, BacktrackingInfo backtrackingInfo) final voidsetMaxCount(int maxCount) final voidsetMinCount(int minCount) Methods inherited from class Pattern
getFirstChild, getNextSibling, getRole, isNull, match, matches, matchesCollection, matchString, toBlockStatement, toCatchClause, toExpression, toMethodDeclaration, toNode, toParameterDeclaration, toStatement, toType, toVariableInitializer
-
Field Details
-
_node
-
_minCount
private int _minCount -
_maxCount
private int _maxCount
-
-
Constructor Details
-
Repeat
-
-
Method Details
-
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:
matchesCollectionin interfaceINode- Overrides:
matchesCollectionin classPattern
-
matches
-