(what, end)
| 295 | if (atomicTypes.hasOwnProperty(type)) return cont(expect(":"), expression); |
| 296 | } |
| 297 | function commasep(what, end) { |
| 298 | function proceed(type) { |
| 299 | if (type == ",") return cont(what, proceed); |
| 300 | if (type == end) return cont(); |
| 301 | return cont(expect(end)); |
| 302 | } |
| 303 | return function commaSeparated(type) { |
| 304 | if (type == end) return cont(); |
| 305 | else return pass(what, proceed); |
| 306 | }; |
| 307 | } |
| 308 | function block(type) { |
| 309 | if (type == "}") return cont(); |
| 310 | return pass(statement, block); |
no test coverage detected
searching dependent graphs…