(what, end)
| 340 | if (atomicTypes.hasOwnProperty(type)) return cont(expect(":"), expression); |
| 341 | } |
| 342 | function commasep(what, end) { |
| 343 | function proceed(type) { |
| 344 | if (type == ",") return cont(what, proceed); |
| 345 | if (type == end) return cont(); |
| 346 | return cont(expect(end)); |
| 347 | } |
| 348 | return function(type) { |
| 349 | if (type == end) return cont(); |
| 350 | else return pass(what, proceed); |
| 351 | }; |
| 352 | } |
| 353 | function block(type) { |
| 354 | if (type == "}") return cont(); |
| 355 | return pass(statement, block); |
no test coverage detected