public override void EnterThan_exp(lisp_gammarParser.Than_expContext context) { if (!_IfExp) { _IfExp = true; } base.EnterThan_exp(context); }
public override void ExitThan_exp(lisp_gammarParser.Than_expContext context) { _IfExp = false; string s = DealWithCtxTree(context); ClearCtx(context); AddCtx(context, s); base.ExitThan_exp(context); }
/// <summary> /// Exit a parse tree produced by <see cref="lisp_gammarParser.than_exp"/>. /// <para>The default implementation does nothing.</para> /// </summary> /// <param name="context">The parse tree.</param> public virtual void ExitThan_exp([NotNull] lisp_gammarParser.Than_expContext context) { }
/// <summary> /// Visit a parse tree produced by <see cref="lisp_gammarParser.than_exp"/>. /// <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 VisitThan_exp([NotNull] lisp_gammarParser.Than_expContext context) { return(VisitChildren(context)); }