public String consumeWord(){
  int start=pos;
  while (matchesWord())   pos++;
  return queue.substring(start,pos);
}

public String consumeWord ( ) { int start = pos ; while ( matchesWord ( ) ) pos ++ ; return queue . substring ( start , pos ) ; }
retrieves the next run of word type ( letter or digit ) off the queue .
