code: final public void addPositionRange(int start, int end) {
      if (tokenPosition == null) {
        tokenPosition = new MtasPosition(start, end);
      } else {
        int[] positions = new int[end - start + 1];
        for (int i = start; i <= end; i++) {
          positions[i - start] = i;
        }
        tokenPosition.add(positions);
      }
    }
docs: Adds the position range.
  
  @param start the start
  @param end the end