public Expression VisitZenStringSubstringExpr(ZenStringSubstringExpr expression, ExpressionConverterEnvironment parameter) { return(LookupOrCompute(expression, () => { var e1 = expression.StringExpr.Accept(this, parameter); var e2 = expression.OffsetExpr.Accept(this, parameter); var e3 = expression.LengthExpr.Accept(this, parameter); return Expression.Call(null, substringMethod, new Expression[] { e1, e2, e3 }); })); }
public ImmutableHashSet <object> VisitZenStringSubstringExpr(ZenStringSubstringExpr expression, Unit parameter) { throw new ZenException($"Invalid string type used with Decision Diagram backend."); }