public static LinqQuery Eval(Expression expression) { ProcessingLinqContext ctx = new ProcessingLinqContext(new LinqQuery(expression)); var visitor = new LinqVisitor(ctx); visitor.Visit(expression); return(ctx.LinqQuery); }
private LinqVisitor(ProcessingLinqContext ctx) { _ctx = ctx; _handlers = SubPatternRegistry.Handlers; }