(code)
| 636 | } |
| 637 | |
| 638 | function getAst(code){ |
| 639 | var inputSteam = InputStream(code); |
| 640 | var tokenSteam = TokenStream(inputSteam); |
| 641 | return parse(tokenSteam); |
| 642 | } |
| 643 | function traverseAst(node,callback){ |
| 644 | callback&&callback(node) |
| 645 | if(node.body&&node.body.length>0){ |
nothing calls this directly
no test coverage detected