public Expression BuildExpression(string input, Expression baseExpression) { var scanner = new Scanner(new MemoryStream(Encoding.UTF8.GetBytes(input))); var parser = new Parser(scanner); parser.BaseExpression = baseExpression; parser.Parse(); return parser.Output; }
public Parser(Scanner scanner) { this.scanner = scanner; errors = new Errors(); }