/// <summary> /// Visit a ConstantUintExpr. /// </summary> /// <param name="expression">The expression.</param> /// <param name="parameter">The parameter.</param> /// <returns>The resulting symbolic value.</returns> public SymbolicValue <TModel, TVar, TBool, TInt> VisitZenConstantUintExpr(ZenConstantUintExpr expression, SymbolicEvaluationEnvironment <TModel, TVar, TBool, TInt> parameter) { return(LookupOrCompute(expression, () => { var bv = this.Solver.CreateIntConst((int)expression.Value); return new SymbolicInteger <TModel, TVar, TBool, TInt>(this.Solver, bv); })); }
public ImmutableHashSet <object> VisitZenConstantUintExpr(ZenConstantUintExpr expression, Unit parameter) { return(emptySet); }
public object VisitUint() { return(ZenConstantUintExpr.Create(0)); }
public Expression VisitZenConstantUintExpr(ZenConstantUintExpr expression, ExpressionConverterEnvironment parameter) { return(Expression.Constant(expression.Value)); }