Exemplo n.º 1
0
 /*Ensure that the token buffer is sufficiently full */
 protected virtual void  fill(int amount)
 {
     syncConsume();
     // Fill the buffer sufficiently to hold needed tokens
     while (queue.nbrEntries < (amount + markerOffset))
     {
         // Append the next token
         queue.append(input.nextToken());
     }
 }