예제 #1
0
  @Override
  public Boolean visit(final MemberValuePair n1, final Node arg) {
    final MemberValuePair n2 = (MemberValuePair) arg;

    if (!objEquals(n1.getName(), n2.getName())) {
      return Boolean.FALSE;
    }

    if (!nodeEquals(n1.getValue(), n2.getValue())) {
      return Boolean.FALSE;
    }

    return Boolean.TRUE;
  }
 @Override
 public void visit(final MemberValuePair n, final A arg) {
   visitComment(n.getComment(), arg);
   n.getValue().accept(this, arg);
 }