/// <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);
     }));
 }
Example #2
0
 public ImmutableHashSet <object> VisitZenConstantUintExpr(ZenConstantUintExpr expression, Unit parameter)
 {
     return(emptySet);
 }
Example #3
0
 public object VisitUint()
 {
     return(ZenConstantUintExpr.Create(0));
 }
Example #4
0
 public Expression VisitZenConstantUintExpr(ZenConstantUintExpr expression, ExpressionConverterEnvironment parameter)
 {
     return(Expression.Constant(expression.Value));
 }