Spaces:
Running
on
T4
Running
on
T4
File size: 377 Bytes
b498cbf |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
/**
* 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;
|