code: public void setText(Replaceable rep) {
          this.rep=rep;
          limit=contextLimit=rep.length();
          cpStart=cpLimit=index=contextStart=0;
          dir=0;
          reachedLimit=false;
      }
docs: Set the text for iteration.
  @param rep Iteration text.