/*
  * @see ASTVisitor#visit(BreakStatement)
  */
 @Override
 public boolean visit(BreakStatement node) {
   this.fBuffer.append("break"); // $NON-NLS-1$
   if (node.getLabel() != null) {
     this.fBuffer.append(" "); // $NON-NLS-1$
     node.getLabel().accept(this);
   }
   this.fBuffer.append(";"); // $NON-NLS-1$
   return false;
 }
Esempio n. 2
0
 @Override
 public Void visitBreakStatement(BreakStatement node) {
   writer.print("break");
   visit(" ", node.getLabel());
   writer.print(";");
   return null;
 }