Esempio n. 1
0
 public Expression VisitZenConcatExpr(ZenConcatExpr expression, ExpressionConverterEnvironment parameter)
 {
     return(LookupOrCompute(expression, () =>
     {
         var l = expression.Expr1.Accept(this, parameter);
         var r = expression.Expr2.Accept(this, parameter);
         return Expression.Add(l, r, concatMethod);
     }));
 }
Esempio n. 2
0
 public ImmutableHashSet <object> VisitZenConcatExpr(ZenConcatExpr expression, Unit parameter)
 {
     return(LookupOrCompute(expression, () =>
     {
         var x = expression.Expr1.Accept(this, parameter);
         var y = expression.Expr2.Accept(this, parameter);
         this.Combine(x, y);
         return x.Union(y);
     }));
 }