Lines Matching refs:Expr

3153 }}if(parts.length>1&&origPOS.exec(selector)){if(parts.length===2&&Expr.relative[parts[0]]){set=posProcess(parts[0]+parts[1],context)
3154 }else{set=Expr.relative[parts[0]]?[context]:Sizzle(parts.shift(),context);
3156 if(Expr.relative[selector]){selector+=parts.shift()
3158 }}}else{if(!seed&&parts.length>1&&context.nodeType===9&&!contextXML&&Expr.match.ID.test(parts[0])&&!Expr.match.ID.test(parts[parts.length-1])){var ret=Sizzle.find(parts.shift(),context,contextXML);
3165 if(!Expr.relative[cur]){cur=""
3168 }Expr.relative[cur](checkSet,pop,contextXML)
3195 }for(var i=0,l=Expr.order.length;
3197 i++){var type=Expr.order[i],match;
3198 if((match=Expr.leftMatch[type].exec(expr))){var left=match[1];
3201 set=Expr.find[type](match,context,isXML);
3202 if(set!=null){expr=expr.replace(Expr.match[type],"");
3208 while(expr&&set.length){for(var type in Expr.filter){if((match=Expr.match[type].exec(expr))!=null){var filter=Expr.filter[type],found,item;
3211 }if(Expr.preFilter[type]){match=Expr.preFilter[type](match,curLoop,inplace,result,not,isXMLFilter);
3223 }expr=expr.replace(Expr.match[type],"");
3231 var Expr=Sizzle.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF-]|\\.)+)(?:\((['"]*)((?:\([^\)]+\)|[^\2\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(elem){return elem.getAttribute("href")
3283 if(!isXML&&Expr.attrMap[name]){match[1]=Expr.attrMap[name]
3290 }}else{if(Expr.match.POS.test(match[0])||Expr.match.CHILD.test(match[0])){return true
3321 }},filter:{PSEUDO:function(elem,match,i,array){var name=match[1],filter=Expr.filters[name];
3349 },ATTR:function(elem,match){var name=match[1],result=Expr.attrHandle[name]?Expr.attrHandle[name](elem):elem[name]!=null?elem[name]:elem.getAttribute(name),value=result+"",type=match[2],check=match[4];
3351 },POS:function(elem,match,i,array){var name=match[2],filter=Expr.setFilters[name];
3354 var origPOS=Expr.match.POS;
3355 for(var type in Expr.match){Expr.match[type]=new RegExp(Expr.match[type].source+/(?![^\[]*\])(?![^\(]*\))/.source);
3356 Expr.leftMatch[type]=new RegExp(/(^(?:.|\r|\n)*?)/.source+Expr.match[type].source)
3401 if(!!document.getElementById(id)){Expr.find.ID=function(match,context,isXML){if(typeof context.getElementById!=="undefined"&&!isXML){var m=context.getElementById(match[1]);
3404 Expr.filter.ID=function(elem,match){var node=typeof elem.getAttributeNode!=="undefined"&&elem.getAttributeNode("id");
3412 if(div.getElementsByTagName("*").length>0){Expr.find.TAG=function(match,context){var results=context.getElementsByTagName(match[1]);
3421 if(div.firstChild&&typeof div.firstChild.getAttribute!=="undefined"&&div.firstChild.getAttribute("href")!=="#"){Expr.attrHandle.href=function(elem){return elem.getAttribute("href",2)
3440 }Expr.order.splice(1,0,"CLASS");
3441 Expr.find.CLASS=function(match,context,isXML){if(typeof context.getElementsByClassName!=="undefined"&&!isXML){return context.getElementsByClassName(match[1])
3485 while((match=Expr.match.PSEUDO.exec(selector))){later+=match[0];
3486 selector=selector.replace(Expr.match.PSEUDO,"")
3487 }selector=Expr.relative[selector]?selector+"*":selector;