lunr.QueryLexer.prototype.next = function()

in miredot/lib/lunr/js/lunr.js [2600:2608]


lunr.QueryLexer.prototype.next = function () {
  if (this.pos >= this.length) {
    return lunr.QueryLexer.EOS
  }

  var char = this.str.charAt(this.pos)
  this.pos += 1
  return char
}