Beispiel #1
0
 public While(Expresion condicion, Bloque sentencias, int linea, int columna)
 {
     this.condicion  = condicion;
     this.sentencias = sentencias;
     this.linea      = linea;
     this.columna    = columna;
 }
Beispiel #2
0
 public For(Instruccion InsInicial, String nombreVarAsignacion, Expresion valorFinal, Bloque instrucciones, bool up_to)
 {
     this.InsInicial          = InsInicial;
     this.nombreVarAsignacion = nombreVarAsignacion;
     this.valorFinal          = valorFinal;
     this.instrucciones       = instrucciones;
     this.up_to = up_to;
 }
 public Condicion_If(Expresion Condicion, Bloque instrucciones)
 {
     this.Condicion     = Condicion;
     this.instrucciones = instrucciones;
 }
 public Bloques_Case(Expresion Comparacion, Bloque bloque)
 {
     this.Comparacion        = Comparacion;
     this.bloque             = bloque;
     this.listaInstrucciones = this.bloque.listaInstrucciones;
 }
Beispiel #5
0
 public Clase_IF(LinkedList <Condicion_If> listaCondiciones)
 {
     this.listaCondiciones = listaCondiciones;
     this.Else             = null;
 }
Beispiel #6
0
 public Clase_IF(LinkedList <Condicion_If> listaCondiciones, Bloque Else)
 {
     this.listaCondiciones = listaCondiciones;
     this.Else             = Else;
 }
Beispiel #7
0
 public Repeat_Until(Bloque bloque, Expresion condicion)
 {
     this.bloque             = bloque;
     this.condicion          = condicion;
     this.listaInstrucciones = this.bloque.listaInstrucciones;
 }
Beispiel #8
0
 public Bloques_Default(Bloque bloque)
 {
     this.bloque             = bloque;
     this.listaInstrucciones = this.bloque.listaInstrucciones;
 }