(type, value)
| 491 | if (type == "{") return contCommasep(proppattern, "}"); |
| 492 | } |
| 493 | function proppattern(type, value) { |
| 494 | if (type == "variable" && !cx.stream.match(/^\s*:/, false)) { |
| 495 | register(value); |
| 496 | return cont(maybeAssign); |
| 497 | } |
| 498 | if (type == "variable") cx.marked = "property"; |
| 499 | return cont(expect(":"), pattern, maybeAssign); |
| 500 | } |
| 501 | function maybeAssign(_type, value) { |
| 502 | if (value == "=") return cont(expressionNoComma); |
| 503 | } |