예제 #1
0
 public ComandoFor(Salida salida, TablaDeSimbolos tablaDeSimbolos, string variable, Expresion expresion, Comando cuerpo)
 {
     this.salida          = salida;
     this.tablaDeSimbolos = tablaDeSimbolos;
     this.variable        = variable;
     this.expresion       = expresion;
     this.cuerpo          = cuerpo;
 }
예제 #2
0
 public OpNot(Expresion e)
 {
     this.e = e;
 }
예제 #3
0
 public OpMayorOIgualQue(Expresion e1, Expresion e2)
 {
     this.e1 = e1;
     this.e2 = e2;
 }
예제 #4
0
 public ComandoIf(Expresion expresion, Comando comandosDelIf)
 {
     this.expresion       = expresion;
     this.comandosDelIf   = comandosDelIf;
     this.comandosDelElse = null;
 }
예제 #5
0
 public ComandoIf(Expresion expresion, Comando comandoDeIf, Comando comandoDeElse)
 {
     this.expresion       = expresion;
     this.comandosDelIf   = comandoDeIf;
     this.comandosDelElse = comandoDeElse;
 }
예제 #6
0
 public ComandoEval(Assembly assembly, TablaDeSimbolos tablaDeSimbolos, Salida salida, Expresion expresion)
 {
     this.expresion       = expresion;
     this.tablaDeSimbolos = tablaDeSimbolos;
     this.salida          = salida;
     this.assembly        = assembly;
 }
예제 #7
0
 public OpSumar(Expresion e1, Expresion e2)
 {
     this.e1 = e1;
     this.e2 = e2;
 }
예제 #8
0
 public ComandoPrint(Salida salida, Expresion expression, String alias)
 {
     this.salida     = salida;
     this.expression = expression;
     this.alias      = alias;
 }
예제 #9
0
 public OpMenorQue(Expresion e1, Expresion e2)
 {
     this.e1 = e1;
     this.e2 = e2;
 }
 public ComandoNuevaInstancia(TablaDeSimbolos tablaDeSimbolos, Expresion lValue, Expresion rValue)
 {
     this.lValue          = lValue;
     this.rValue          = rValue;
     this.tablaDeSimbolos = tablaDeSimbolos;
 }
예제 #11
0
 public OpMenos(Expresion e)
 {
     this.e = e;
 }
예제 #12
0
 public OpAnd(Expresion e1, Expresion e2)
 {
     this.e1 = e1;
     this.e2 = e2;
 }
예제 #13
0
 public OpMultiplicar(Expresion e1, Expresion e2)
 {
     this.e1 = e1;
     this.e2 = e2;
 }
예제 #14
0
 public ComandoCall(TablaDeSimbolos tablaDeSimbolos, Expresion expresion)
 {
     this.expresion       = expresion;
     this.tablaDeSimbolos = tablaDeSimbolos;
 }
예제 #15
0
 public OpDividir(Expresion e1, Expresion e2)
 {
     this.e1 = e1;
     this.e2 = e2;
 }
예제 #16
0
 public OpRestar(Expresion e1, Expresion e2)
 {
     this.e1 = e1;
     this.e2 = e2;
 }