code: function repetition() {
      var ret = this.seq(this.mightf(repeat), element);
      if (ret[1]) {
          return new ast.Repetition(ret[1], ret[2]);
      }
      return ret[2];
  }
docs: repetition     =  [repeat] element