Example #1
0
  @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;
  }
Example #2
0
 public void visit(ClassExpr n, Object arg) {
   n.getType().accept(this, arg);
 }