code: public IXPathToken lookUpTokens(final int paramNext) {
  
          int nextCount = paramNext;
  
          // save current position of the scanner, to restore it later
          final int lastPos = mPos;
          IXPathToken token = nextToken();
  
          while (--nextCount > 0) {
              token = nextToken();
              if (token.getType() == TokenType.SPACE) {
                  nextCount++;
              }
          }
  
          // reset position
          mPos = lastPos;
          return token;
      }
docs: Return the token that will be returned by the scanner after the call of
  nextToken(), without changing the internal state of the scanner.
  
  @param paramNext
  number of next tokens to be read
  @return token that will be read after calling nextToken()