code: public void discardFirstWords(int 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 number of words to be discarded