protected void Simplify(QueryClauseExpression expr, Expression replacement) { expr.ParentNode.Replace(expr, replacement); }
protected int TupleDepth(QueryClauseExpression expr) { return(Math.Min(expr.TupleSize + 1, 2)); }