Lines Matching refs:token
604 dupe = false, // check for whether a token we extracted represents a duplicate selected choice
605 token, // token
621 if (index < 0) break; // did not find any token separator in the input string, bail
623 token = input.substring(0, index);
626 if (token.length > 0) {
627 token = opts.createSearchChoice.call(this, token, selection);
628 if (token !== undefined && token !== null && opts.id(token) !== undefined && opts.id(token) !== null) {
631 if (equal(opts.id(token), opts.id(selection[i]))) {
636 if (!dupe) selectCallback(token);