(s, f)
| 3416 | } |
| 3417 | |
| 3418 | function prefix(s, f) { |
| 3419 | var x = symbol(s, 150); |
| 3420 | reserveName(x); |
| 3421 | |
| 3422 | x.nud = (typeof f === "function") ? f : function() { |
| 3423 | this.arity = "unary"; |
| 3424 | this.right = expression(150); |
| 3425 | |
| 3426 | if (this.id === "++" || this.id === "--") { |
| 3427 | if (state.option.plusplus) { |
| 3428 | warning("W016", this, this.id); |
| 3429 | } else if (this.right && (!this.right.identifier || isReserved(this.right)) && |
| 3430 | this.right.id !== "." && this.right.id !== "[") { |
| 3431 | warning("W017", this); |
| 3432 | } |
| 3433 | } |
| 3434 | |
| 3435 | return this; |
| 3436 | }; |
| 3437 | |
| 3438 | return x; |
| 3439 | } |
| 3440 | |
| 3441 | function type(s, f) { |
| 3442 | var x = delim(s); |
no test coverage detected