public override void VisitAfter(BracketedExpr expr) { if (IsPlaceHolderExpr(expr.Operand)) { expr.Operand = Place((PlaceHolderExpr)expr.Operand); } }
private Expr PlaceInBitwiseNot(PlaceHolderExpr ph) { var expr = this.Place(ph); if (expr.GetType() == typeof(BinaryOpExpr)) { expr = new BracketedExpr(expr); } return(expr); }
public override void VisitAfter(BracketedExpr expr) { var operand = (Expr)_stack.Pop(); if (object.ReferenceEquals(expr.Operand, operand)) { _stack.Push(expr); return; } var node = new BracketedExpr(operand, expr.Comments.Clone()); _stack.Push(node); }
virtual public void VisitAfter(BracketedExpr expr) { }
virtual public void VisitBefore(BracketedExpr expr) { }
public void VisitAfter(BracketedExpr expr) { _visitor.VisitAfter(expr); }
public void VisitBefore(BracketedExpr expr) { _visitor.VisitBefore(expr); }