コード例 #1
0
 public override void EnterThan_exp(lisp_gammarParser.Than_expContext context)
 {
     if (!_IfExp)
     {
         _IfExp = true;
     }
     base.EnterThan_exp(context);
 }
コード例 #2
0
        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);
        }
コード例 #3
0
 /// <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)
 {
 }
コード例 #4
0
 /// <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));
 }