()
| 6179 | } |
| 6180 | |
| 6181 | function _assignment() { |
| 6182 | var left = logicalOR(); |
| 6183 | var right; |
| 6184 | var token; |
| 6185 | if ((token = expect('='))) { |
| 6186 | if (!left.assign) { |
| 6187 | throwError("implies assignment but [" + |
| 6188 | text.substring(0, token.index) + "] can not be assigned to", token); |
| 6189 | } |
| 6190 | right = logicalOR(); |
| 6191 | return function(scope, locals){ |
| 6192 | return left.assign(scope, right(scope, locals), locals); |
| 6193 | }; |
| 6194 | } else { |
| 6195 | return left; |
| 6196 | } |
| 6197 | } |
| 6198 | |
| 6199 | function logicalOR() { |
| 6200 | var left = logicalAND(); |
nothing calls this directly
no test coverage detected