(tokens, options)
| 8 | module.exports = parse; |
| 9 | module.exports.Parser = Parser; |
| 10 | function parse(tokens, options) { |
| 11 | var parser = new Parser(tokens, options); |
| 12 | var ast = parser.parse(); |
| 13 | return JSON.parse(JSON.stringify(ast)); |
| 14 | } |
| 15 | |
| 16 | /** |
| 17 | * Initialize `Parser` with the given input `str` and `filename`. |
no outgoing calls
no test coverage detected
searching dependent graphs…