public override string Execute(Ambit_Trad ambit)
        {
            var ambitName = "Global_Repeat";

            if (!ambit.IsNull)
            {
                ambitName = ambit.Ambit_name + "_Repeat";
            }
            var repeatAmbit = new Ambit_Trad(ambit, ambitName, "Repeat", false);

            //CONDICION
            var condicion = condition.Execute(repeatAmbit);
            //SENTENCIAS
            var repeat_senteces = sentences.Execute(repeatAmbit);


            var tabs = "";

            for (int i = 0; i < cant_tabs; i++)
            {
                tabs = tabs + "  ";
            }

            return
                (tabs + "repeat \n" +
                 repeat_senteces + "\n" +
                 tabs + "until " + condition + ";");
        }
        public override string Execute(Ambit_Trad ambit)
        {
            var ambitName = "Global_While";

            if (!ambit.IsNull)
            {
                ambitName = ambit.Ambit_name + "_While";
            }

            var whileAmbit = new Ambit_Trad(ambit, ambitName, "While", false);

            //CONDICION
            var cond = condition.Execute(whileAmbit);

            //SENTENCIA
            var while_sentencia = sentences.Execute(whileAmbit);


            var tabs = "";

            for (int i = 0; i < cant_tabs; i++)
            {
                tabs = tabs + "  ";
            }

            return
                (tabs + "while " + cond + " do\n" +
                 tabs + "begin\n" +
                 while_sentencia + "\n" +
                 tabs + "end;\n");
        }
 public override string Execute(Ambit_Trad ambit)
 {
     if (!sentence.IsNull)
     {
         return(sentence.Execute(ambit));
     }
     else
     {
         return("");
     }
 }