public override Expression GetExpression(ExpressionParsingContext context) { var call = P0 as DotExpressionNode; if (call != null) { return(Expression.Call(call.P0.GetExpression(context), call.P2.Value, null, P2.GetExpressions(context))); } else { return(Expression.Invoke(P0.GetExpression(context), P2.GetExpressions(context))); } }
public override void GetExpressions(ExpressionParsingContext context, List <Expression> expressions) { expressions.Add(P0.GetExpression(context)); P2.GetExpressions(context, expressions); }