Lines Matching refs:matches

202 	          matches,
234 matches = match.applyRegexList(code, brush.regexList, params);
235 renderer = new Renderer(code, matches, params);
1569 matches = [],
1582 matches.push(match[item.backref] || '');
1584 matches.push(match[0]);
1593 … return level === chain.length - 1 || !matches.length ? matches : recurseChain(matches, level + 1);
2471 matches = [],
2480 matches = matches.concat(resultMatch);
2484 return matches;
2490 function sort(matches) {
2501 return matches.sort(sortMatchesCallback);
2504 function compact(matches) {
2509 for (i = 0, l = matches.length; i < l; i++) {
2510 if (matches[i]) result.push(matches[i]);
2519 function removeNested(matches) {
2521 for (var i = 0, l = matches.length; i < l; i++) {
2522 if (matches[i] === null) continue;
2524 var itemI = matches[i],
2527 for (var j = i + 1, l = matches.length; j < l && matches[i] !== null; j++) {
2528 var itemJ = matches[j];
2530 …& itemJ.length > itemI.length) matches[i] = null;else if (itemJ.index >= itemI.index && itemJ.inde…
2534 return matches;
2581 function Renderer(code, matches, opts) {
2586 _this.matches = matches;
2781 getMatchesHtml: function getMatchesHtml(code, matches) {
2798 for (i = 0, l = matches.length; i < l; i++) {
2799 match = matches[i];
2825 matches = _this.matches,
2846 html = _this.getMatchesHtml(code, matches);
3038 matches,
3048 matches = regex.exec(line);
3052 if (matches == null) return code;
3054 min = Math.min(matches[0].length, min);
3436 function offsetMatches(matches, offset) {
3437 for (var j = 0, l = matches.length; j < l; j++) {
3438 matches[j].index += offset;
3448 matches;
3450 function add(matches) {
3451 results = results.concat(matches);
3454 matches = applyRegexList(code, regexList);
3455 offsetMatches(matches, offset);
3456 add(matches);
3460 matches = applyRegexList(match.left, [htmlScript.left]);
3461 offsetMatches(matches, match.index);
3462 add(matches);
3467 matches = applyRegexList(match.right, [htmlScript.right]);
3468 offsetMatches(matches, match.index + match[0].lastIndexOf(match.right));
3469 add(matches);
3737 var matches = (0, _syntaxhighlighterMatch.applyRegexList)(code, this.regexList);
3738 var renderer = new _syntaxhighlighterHtmlRenderer2.default(code, matches, params);