tokenize.js 231 B

12345678910
  1. /**
  2. * Given a criteria format, return the tokenized version.
  3. * For use with Analyzer tests.
  4. */
  5. var Tokenizer = require('../../index').query.tokenizer;
  6. module.exports = function(expression) {
  7. return Tokenizer(expression);
  8. };