public int appendUntilBreak(final Iterator<Expression> it){
  int count=0;
  while (it.hasNext()) {
    final Expression expr=it.next();
    append(expr.getNormalized());
    ++count;
    if (expr.getBreakFlag()) {
      break;
    }
  }
  return count;
}

public int appendUntilBreak ( final Iterator < Expression > it ) { int count = 0 ; while ( it . hasNext ( ) ) { final Expression expr = it . next ( ) ; append ( expr . getNormalized ( ) ) ; ++ count ; if ( expr . getBreakFlag ( ) ) { break ; } } return count ; }
append a sequence of expressions until we find a break flag or there is no more expression .
