code: public void discardFirstWords(long x) {
          if (this.runningLength >= x) {
              this.runningLength -= x;
              return;
          }
          x -= this.runningLength;
          this.runningLength = 0;
          this.literalWordOffset += x;
          this.numberOfLiteralWords -= x;
      }
docs: Discard first words.
  
  @param x the x