예제 #1
0
 public boolean visit(UnaryOperation s) throws Exception {
   Map<String, String> parameters = createInitialParameters(s);
   parameters.put("operator", s.getOperator());
   xmlWriter.startTag("UnaryOperation", parameters);
   return true;
 }
 @Override
 public void visitUnaryOperation(UnaryOperation unaryOperation) {
   unaryOperation.getExpressionStatement().accept(this);
 }