Ejemplo n.º 1
0
 public override object VisitExprActParsAST([NotNull] ParserProgra.ExprActParsASTContext context)
 {
     printTab(cont);
     txtBoxTreeVisitor.AppendText("ActPars: \n");
     cont++;
     for (int i = 0; i < context.expr().Count; i++)
     {
         Visit(context.expr(i));
     }
     cont--;
     return(null);
 }
 /// <summary>
 /// Exit a parse tree produced by <see cref="ParserProgra.exprActParsAST"/>.
 /// <para>The default implementation does nothing.</para>
 /// </summary>
 /// <param name="context">The parse tree.</param>
 public virtual void ExitExprActParsAST([NotNull] ParserProgra.ExprActParsASTContext context)
 {
 }
 /// <summary>
 /// Visit a parse tree produced by <see cref="ParserProgra.exprActParsAST"/>.
 /// <para>
 /// The default implementation returns the result of calling <see cref="AbstractParseTreeVisitor{Result}.VisitChildren(IRuleNode)"/>
 /// on <paramref name="context"/>.
 /// </para>
 /// </summary>
 /// <param name="context">The parse tree.</param>
 /// <return>The visitor result.</return>
 public virtual Result VisitExprActParsAST([NotNull] ParserProgra.ExprActParsASTContext context)
 {
     return(VisitChildren(context));
 }