public override void VisitAfter(BitwiseNotExpr expr) { if (IsPlaceHolderExpr(expr.Operand)) { expr.Operand = PlaceInBitwiseNot((PlaceHolderExpr)expr.Operand); } }
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); }
virtual public void VisitAfter(BitwiseNotExpr expr) { }
virtual public void VisitBefore(BitwiseNotExpr expr) { }
public void VisitAfter(BitwiseNotExpr expr) { _visitor.VisitAfter(expr); }
public void VisitBefore(BitwiseNotExpr expr) { _visitor.VisitBefore(expr); }