Package com.strobel.decompiler.patterns
Class SubtreeMatch
- java.lang.Object
-
- com.strobel.decompiler.patterns.Pattern
-
- com.strobel.decompiler.patterns.SubtreeMatch
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
_groupName
private boolean
_matchMultiple
private INode
_target
-
Fields inherited from class com.strobel.decompiler.patterns.Pattern
ANY_STRING
-
Fields inherited from interface com.strobel.decompiler.patterns.INode
CHILD_ITERATOR
-
-
Constructor Summary
Constructors Constructor Description SubtreeMatch(INode target)
SubtreeMatch(INode target, boolean matchMultiple)
SubtreeMatch(INode target, java.lang.String groupName)
SubtreeMatch(INode target, java.lang.String groupName, boolean matchMultiple)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description INode
getTarget()
boolean
matches(INode other, Match match)
-
Methods inherited from class com.strobel.decompiler.patterns.Pattern
getFirstChild, getNextSibling, getRole, isNull, match, matches, matchesCollection, matchesCollection, matchString, toBlockStatement, toCatchClause, toExpression, toMethodDeclaration, toNode, toParameterDeclaration, toStatement, toType, toVariableInitializer
-
-
-
-
Field Detail
-
_groupName
private final java.lang.String _groupName
-
_matchMultiple
private final boolean _matchMultiple
-
_target
private final INode _target
-
-
Constructor Detail
-
SubtreeMatch
public SubtreeMatch(INode target)
-
SubtreeMatch
public SubtreeMatch(INode target, boolean matchMultiple)
-
SubtreeMatch
public SubtreeMatch(INode target, java.lang.String groupName)
-
SubtreeMatch
public SubtreeMatch(INode target, java.lang.String groupName, boolean matchMultiple)
-
-