public virtual bool Visit(Net.Vpc.Upa.Expressions.Expression expr, Net.Vpc.Upa.Expressions.ExpressionTag tag) { if (expr is Net.Vpc.Upa.Expressions.Param) { Net.Vpc.Upa.Expressions.Param p = (Net.Vpc.Upa.Expressions.Param)expr; p.SetValue(expression.GetParameter(p.GetName())); } return(true); }
protected internal virtual Net.Vpc.Upa.Impl.Uql.Compiledexpression.CompiledParam CompileVal(Net.Vpc.Upa.Expressions.Param v, Net.Vpc.Upa.Impl.Uql.ExpressionTranslationManager manager, Net.Vpc.Upa.Impl.Uql.ExpressionDeclarationList declarations) { if (v == null) { return(null); } Net.Vpc.Upa.Impl.Uql.Compiledexpression.CompiledParam s = new Net.Vpc.Upa.Impl.Uql.Compiledexpression.CompiledParam(v.IsUnspecified() ? null : v.GetValue(), v.GetName(), null, v.IsUnspecified()); // s.setDeclarationList(declarations); return(s); }