예제 #1
0
 public override void VisitAfter(BitwiseNotExpr expr)
 {
     if (IsPlaceHolderExpr(expr.Operand))
     {
         expr.Operand = PlaceInBitwiseNot((PlaceHolderExpr)expr.Operand);
     }
 }
예제 #2
0
        public override void ExitBitwiseNotExpr(MiniSqlParserParser.BitwiseNotExprContext context)
        {
            var comments = this.GetComments(context);
            var operand  = (Expr)_stack.Pop();
            var node     = new BitwiseNotExpr(operand, comments);

            _stack.Push(node);
        }
        public override void VisitAfter(BitwiseNotExpr expr)
        {
            var operand = (Expr)_stack.Pop();

            if (object.ReferenceEquals(expr.Operand, operand))
            {
                _stack.Push(expr);
                return;
            }

            var node = new BitwiseNotExpr(operand, expr.Comments.Clone());

            _stack.Push(node);
        }
예제 #4
0
 virtual public void VisitAfter(BitwiseNotExpr expr)
 {
 }
예제 #5
0
 virtual public void VisitBefore(BitwiseNotExpr expr)
 {
 }
예제 #6
0
 public void VisitAfter(BitwiseNotExpr expr)
 {
     _visitor.VisitAfter(expr);
 }
예제 #7
0
 public void VisitBefore(BitwiseNotExpr expr)
 {
     _visitor.VisitBefore(expr);
 }