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

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

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

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