Example #1
0
        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;
        }
Example #2
0
 public Parser(Scanner scanner)
 {
     this.scanner = scanner;
     errors = new Errors();
 }