Example #1
0
 public For(VarDecl declaration, Expresion loopExpresion, Asignacion incExp, Statement stm)
 {
     this.declaration   = declaration;
     this.expression    = loopExpresion;
     this.incExpression = incExp;
     this.stm           = stm;
     if (loopExpresion.tipo != Tipo.Bool)
     {
         loopExpresion.error("se requiere booleano en for");
     }
 }
Example #2
0
 internal void addElement(VarDecl varDecl)
 {
     throw new NotImplementedException();
 }