@Override public Boolean visit(final ClassExpr n1, final Node arg) { final ClassExpr n2 = (ClassExpr) arg; if (!nodeEquals(n1.getType(), n2.getType())) { return Boolean.FALSE; } return Boolean.TRUE; }
public void visit(ClassExpr n, Object arg) { n.getType().accept(this, arg); }