/*
  * @see ASTVisitor#visit(Assignment)
  */
 @Override
 public boolean visit(Assignment node) {
   node.getLeftHandSide().accept(this);
   this.fBuffer.append(node.getOperator().toString());
   node.getRightHandSide().accept(this);
   return false;
 }
Пример #2
0
 public boolean visit(Assignment s) throws Exception {
   Map<String, String> parameters = createInitialParameters(s);
   parameters.put("operator", s.getOperator());
   xmlWriter.startTag("Assignment", parameters);
   return true;
 }