private void gobble(Iterator iter){
  if (eatTheRest) {
    while (iter.hasNext()) {
      tokens.add(iter.next());
    }
  }
}

private void gobble ( Iterator iter ) { if ( eatTheRest ) { while ( iter . hasNext ( ) ) { tokens . add ( iter . next ( ) ) ; } } }
adds the remaining tokens to the processed tokens list .
