//DeclarationsAST public object VisitUnDeclAST(UnDeclAST v,object arg) { if(((string)arg).Equals("clase")){ v.declaracion.visit(this,"clase"); } else{ v.declaracion.visit(this,"programa"); } return null; }
//DeclarationsAST public object VisitUnDeclAST(UnDeclAST v,object arg) { return v.declaracion.visit(this,arg); }
//---------------------------------------------------------------------------------------- //Declarations public object VisitUnDeclAST(UnDeclAST v,object arg) { int numaux = ((int)arg); printtab(numaux); resultado = resultado +"\n"+(v.GetType()); v.declaracion.visit(this,numaux+1); return null; }