code: private boolean hasTokenInBuffer() {
          matchValid = false;
          matcher.usePattern(delimPattern);
          matcher.region(position, buf.limit());
  
          // Skip delims first
          if (matcher.lookingAt())
              position = matcher.end();
  
          // If we are sitting at the end, no more tokens in buffer
          if (position == buf.limit())
              return false;
  
          return true;
      }
docs: means that there will be another token with or without more input.