Exemple #1
0
 public override object VisitNumFactoAST([NotNull] ParserProgra.NumFactoASTContext context)
 {
     printTab(cont);
     txtBoxTreeVisitor.AppendText("factor: \n");
     cont++;
     printTab(cont);
     txtBoxTreeVisitor.AppendText("NUM => " + context.Num().GetText() + "\n");
     cont--;
     return(null);
 }
Exemple #2
0
 public override object VisitNumFactoAST([NotNull] ParserProgra.NumFactoASTContext context)
 {
     printTab(cont);
     txtBoxTreeVisitor.AppendText("factor: \n");
     cont++;
     printTab(cont);
     txtBoxTreeVisitor.AppendText("NUM => " + context.Num().GetText() + "\n");
     printTab(cont);
     //txtBoxTreeVisitor.AppendText("Tipo => " + "int\n");
     //txtBoxTreeVisitor.AppendText("Puntero Memoria =>" + context.Num().GetHashCode().ToString() + "\n");
     cont--;
     return(null);
 }