lunr.QueryLexer.prototype.emit = function()

in miredot/lib/lunr/js/lunr.js [2584:2593]


lunr.QueryLexer.prototype.emit = function (type) {
  this.lexemes.push({
    type: type,
    str: this.sliceString(),
    start: this.start,
    end: this.pos
  })

  this.start = this.pos
}