| 141 | function type(s,f){var x=delim(s);x.type=s;x.nud=f;return x;} |
| 142 | function reserve(s,f){var x=type(s,f);x.identifier=x.reserved=true;return x;} |
| 143 | function reservevar(s){return reserve(s,function(){if(this.id==='this'){if(option.adsafe){warning("ADsafe violation.",this);}} |
| 144 | return this;});} |
| 145 | function infix(s,f,p){var x=symbol(s,p);reserveName(x);x.led=(typeof f==='function')?f:function(left){nonadjacent(prevtoken,token);nonadjacent(token,nexttoken);this.left=left;this.right=parse(p);return this;};return x;} |
| 146 | function relation(s,f){var x=symbol(s,100);x.led=function(left){nonadjacent(prevtoken,token);nonadjacent(token,nexttoken);var right=parse(100);if((left&&left.id==='NaN')||(right&&right.id==='NaN')){warning("Use the isNaN function to compare with NaN.",this);}else if(f){f.apply(this,[left,right]);} |
| 147 | this.left=left;this.right=right;return this;};return x;} |