(wanted)
| 235 | poplex.lex = true; |
| 236 | |
| 237 | function expect(wanted) { |
| 238 | return function expecting(type) { |
| 239 | if (type == wanted) return cont(); |
| 240 | else if (wanted == ";") return pass(); |
| 241 | else return cont(arguments.callee); |
| 242 | }; |
| 243 | } |
| 244 | |
| 245 | function statement(type) { |
| 246 | if (type == "var") return cont(pushlex("vardef"), vardef1, expect(";"), poplex); |
no test coverage detected
searching dependent graphs…