Lines Matching refs:push

11 …ength;}else if(elem.nodeType===1){var text=Syntax.innerText(elem);matches.push(new Syntax.Match(of…
14 for(var i="";i.length<=tabSize;i=i+" "){space.push(i);}
16push([offset,width,totalOffset]);return space[width];}});return{text:text,offsets:offsets};};Synta…
22 …s.push(Syntax.Brush.buildTree(rule,match[index],RegExp.indexOf(match,index)));}else{var expression…
51 …ngth;i+=1){var child=parts[1].children[i];if(match.canContain(child)){match.children.push(child);}}
52 this.children.push(match);}
66 …ull,children=jQuery.merge([],this.children);splits=splits.slice(0);splits.push(this.endOffset);spl…
67 if(offset<this.offset||(offset-start)==0){parts.push(null);start=offset;continue;}
70 prev=match;start=match.endOffset;parts.push(match);}
72 …length>0){if(children[0].endOffset<=parts[i].endOffset){parts[i].children.push(children.shift());}…
73 …arts.length;j+=1){if(children_parts[j]==null)continue;parts[i+j].children.push(children_parts[j]);}
77 …var splits=[],match;while((match=pattern.exec(this.value))!==null){splits.push(pattern.lastIndex);}
78 …};};Syntax.Brush.prototype.derives=function(name){this.parents.push(name);this.rules.push({apply:f…
86 …ch,rule));}else if(rule.brush){matches.push(Syntax.Brush.buildTree(rule,match[0],match.index));}el…
89 Syntax.Brush.prototype.push=function(){if(jQuery.isArray(arguments[0])){var patterns=arguments[0],r… method in Syntax.Brush
90 all+=")";this.push(jQuery.extend({pattern:new RegExp(all,rule.options||'g')},rule));}else{var rule=…
92 …ttern&&rule.pattern.global||typeof(rule.pattern)=='undefined'){this.rules.push(jQuery.extend({owne…