public class ASTShallowComparator extends java.lang.Object implements ShallowNodeComparator<ASTNode,ASTNode>
Constructor and Description |
---|
ASTShallowComparator(ProgressIndicator indicator) |
Modifier and Type | Method and Description |
---|---|
ThreeState |
deepEqual(ASTNode oldNode,
ASTNode newNode) |
boolean |
hashCodesEqual(ASTNode n1,
ASTNode n2) |
boolean |
typesEqual(ASTNode n1,
ASTNode n2) |
public ASTShallowComparator(ProgressIndicator indicator)
public ThreeState deepEqual(ASTNode oldNode, ASTNode newNode)
deepEqual
in interface ShallowNodeComparator<ASTNode,ASTNode>
public boolean typesEqual(ASTNode n1, ASTNode n2)
typesEqual
in interface ShallowNodeComparator<ASTNode,ASTNode>
public boolean hashCodesEqual(ASTNode n1, ASTNode n2)
hashCodesEqual
in interface ShallowNodeComparator<ASTNode,ASTNode>