Esempio n. 1
0
        public override ProgState execute(ProgState prg)
        {
            IStmt iss = new IfStmt(exp, thenStmt, new SkipStmt());

            prg.GetExe.Push(iss);
            return(null);
        }
Esempio n. 2
0
        public ProgState execute(ProgState prg)
        {
            IfStmt istmt = new IfStmt(new ArithExpr(var, "-", exp2), new IfStmt(new ArithExpr(var, "-", exp1), stm3, stm1), stm2);

            prg.GetExe.Push(istmt);
            return(null);
        }