(s, f)
| 3274 | } |
| 3275 | |
| 3276 | function prefix(s, f) { |
| 3277 | var x = symbol(s, 150); |
| 3278 | reserveName(x); |
| 3279 | |
| 3280 | x.nud = (typeof f === "function") ? f : function () { |
| 3281 | this.right = expression(150); |
| 3282 | this.arity = "unary"; |
| 3283 | |
| 3284 | if (this.id === "++" || this.id === "--") { |
| 3285 | if (state.option.plusplus) { |
| 3286 | warning("W016", this, this.id); |
| 3287 | } else if (this.right && (!this.right.identifier || isReserved(this.right)) && |
| 3288 | this.right.id !== "." && this.right.id !== "[") { |
| 3289 | warning("W017", this); |
| 3290 | } |
| 3291 | } |
| 3292 | |
| 3293 | return this; |
| 3294 | }; |
| 3295 | |
| 3296 | return x; |
| 3297 | } |
| 3298 | |
| 3299 | function type(s, f) { |
| 3300 | var x = delim(s); |
no test coverage detected