Spaces:
Running
on
T4
Running
on
T4
/** | |
* Provides a single function for parsing an expression using a Parser | |
* TODO(emily): Remove this | |
*/ | |
var Parser = require("./Parser"); | |
/** | |
* Parses an expression using a Parser, then returns the parsed result. | |
*/ | |
var parseTree = function(toParse, settings) { | |
var parser = new Parser(toParse, settings); | |
return parser.parse(); | |
}; | |
module.exports = parseTree; | |