| 147 | this.left=left;this.right=right;return this;};return x;} |
| 148 | function isPoorRelation(node){var n=+node.value;return(node.type==='(number)'&&!n)||(node.type==='(string)'&&!node.value)||node.type==='true'||node.type==='false'||node.type==='undefined'||node.type==='null';} |
| 149 | function assignop(s,f){symbol(s,20).exps=true;return infix(s,function(left){var l;this.left=left;nonadjacent(prevtoken,token);nonadjacent(token,nexttoken);if(option.adsafe){l=left;do{if(predefined[l.value]===true){warning('ADsafe violation.',l);} |
| 150 | l=l.left;}while(l);} |
| 151 | if(left){if(left.id==='.'||left.id==='['){if(left.left.value==='arguments'){warning('Bad assignment.',this);} |
| 152 | this.right=parse(19);return this;}else if(left.identifier&&!left.reserved){this.right=parse(19);return this;} |
| 153 | if(left===syntax['function']){warning("Expected an identifier in an assignment and instead saw a function invocation.",token);}} |
| 154 | error("Bad assignment.",this);},20);} |
| 155 | function bitwise(s,f,p){var x=symbol(s,p);reserveName(x);x.led=(typeof f==='function')?f:function(left){if(option.bitwise){warning("Unexpected use of '{a}'.",this,this.id);} |
| 156 | nonadjacent(prevtoken,token);nonadjacent(token,nexttoken);this.left=left;this.right=parse(p);return this;};return x;} |
| 157 | function bitwiseassignop(s){symbol(s,20).exps=true;return infix(s,function(left){if(option.bitwise){warning("Unexpected use of '{a}'.",this,this.id);} |