//---------------------------------------------------------------------------------------- //Factor public object VisitCharConstFactorAST(CharConstFactorAST v,object arg) { if(v.charconst.car.sym==sym.CHAR){ return "char"; } return null; }
//---------------------------------------------------------------------------------------- //Factor public object VisitCharConstFactorAST(CharConstFactorAST v,object arg) { int numaux = ((int)arg); printtab(numaux); resultado = resultado +"\n"+(v.GetType()); if (v.charconst != null) v.charconst.visit(this,numaux+1); else{ printtab(numaux+1); resultado = resultado +"\n"+("NULL"); } return null; }