public override object VisitCondFactCondTermAST([NotNull] ParserProgra.CondFactCondTermASTContext context) { printTab(cont); txtBoxTreeVisitor.AppendText("CondTerm: \n"); cont++; Visit(context.condFact(0)); for (int i = 0; i < context.AND().Count; i++) { printTab(cont); txtBoxTreeVisitor.AppendText("TokenAND\n"); Visit(context.condFact(i + 1)); } cont--; return(null); }
/// <summary> /// Exit a parse tree produced by <see cref="ParserProgra.condFactCondTermAST"/>. /// <para>The default implementation does nothing.</para> /// </summary> /// <param name="context">The parse tree.</param> public virtual void ExitCondFactCondTermAST([NotNull] ParserProgra.CondFactCondTermASTContext context) { }
/// <summary> /// Visit a parse tree produced by <see cref="ParserProgra.condFactCondTermAST"/>. /// <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 VisitCondFactCondTermAST([NotNull] ParserProgra.CondFactCondTermASTContext context) { return(VisitChildren(context)); }