public class DuplicatesMatchingVisitor extends AbstractMatchingVisitor
Constructor and Description |
---|
DuplicatesMatchingVisitor(NodeSpecificHasherBase nodeSpecificHasher,
NodeFilter nodeFilter,
int discardCost) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
doMatchInAnyOrder(NodeIterator it1,
NodeIterator it2) |
protected NodeFilter |
getNodeFilter() |
boolean |
match(PsiElement element1,
PsiElement element2) |
boolean |
matchSequentially(NodeIterator nodes,
NodeIterator nodes2) |
isLeftLooseMatching, isRightLooseMatching, matchInAnyOrder, matchInAnyOrder, matchOptionally, matchOptionally, matchSequentially, matchSequentially, matchSequentiallyOptionally, matchSons, matchSonsInAnyOrder, matchSonsOptionally
public DuplicatesMatchingVisitor(NodeSpecificHasherBase nodeSpecificHasher, NodeFilter nodeFilter, int discardCost)
public boolean matchSequentially(NodeIterator nodes, NodeIterator nodes2)
matchSequentially
in class AbstractMatchingVisitor
public boolean match(PsiElement element1, PsiElement element2)
match
in class AbstractMatchingVisitor
protected boolean doMatchInAnyOrder(NodeIterator it1, NodeIterator it2)
doMatchInAnyOrder
in class AbstractMatchingVisitor
protected NodeFilter getNodeFilter()
getNodeFilter
in class AbstractMatchingVisitor