Example #1
0
 public If_Trad(Expresion_Trad condition, Instruction_Trad sentences, Instruction_Trad elif, int ct)
     : base(0, 0, "IF")
 {
     this.condition = condition;
     this.sentences = sentences;
     this.elif      = elif;
     this.IsNull    = false;
     this.cant_tabs = ct;
 }
Example #2
0
 public For_Trad(string initId, Expresion_Trad inicializacion, Expresion_Trad actualizacion,
                 Instruction_Trad sentence, string dir, int ct)
     : base(0, 0, "For")
 {
     this.initId         = initId;
     this.inicializacion = inicializacion;
     this.actualizacion  = actualizacion;
     this.sentence       = sentence;
     this.direccion      = dir;
     this.cant_tabs      = ct;
 }
 public Function_Trad(string id, LinkedList <Instruction_Trad> parametos,
                      LinkedList <Instruction_Trad> declas, LinkedList <Instruction_Trad> hijas,
                      string tipe, Instruction_Trad sentences, bool isProcedure, int cant_Tabs, bool eh, string pi)
     : base(0, 0, "Function")
 {
     this.retorno         = "-";
     this.id              = id;
     this.parametos       = parametos;
     this.declaraciones   = declas;
     this.funciones_hijas = hijas;
     this.tipe            = tipe;
     this.sentences       = sentences;
     this.isProcedure     = isProcedure;
     this.cant_tabs       = cant_Tabs;
     this.uniqId          = id;
     this.esHija          = eh;
     this.padre_inmediato = pi;
 }