public virtual object VisitRemoveHandlerStatement(RemoveHandlerStatement removeHandlerStatement, object data) { Debug.Assert((removeHandlerStatement != null)); Debug.Assert((removeHandlerStatement.EventExpression != null)); Debug.Assert((removeHandlerStatement.HandlerExpression != null)); removeHandlerStatement.EventExpression.AcceptVisitor(this, data); return removeHandlerStatement.HandlerExpression.AcceptVisitor(this, data); }
public virtual object VisitRemoveHandlerStatement(RemoveHandlerStatement removeHandlerStatement, object data) { throw new global::System.NotImplementedException("RemoveHandlerStatement"); }
public virtual object VisitRemoveHandlerStatement(RemoveHandlerStatement removeHandlerStatement, object data) { Debug.Assert((removeHandlerStatement != null)); Debug.Assert((removeHandlerStatement.EventExpression != null)); Debug.Assert((removeHandlerStatement.HandlerExpression != null)); nodeStack.Push(removeHandlerStatement.EventExpression); removeHandlerStatement.EventExpression.AcceptVisitor(this, data); removeHandlerStatement.EventExpression = ((Expression)(nodeStack.Pop())); nodeStack.Push(removeHandlerStatement.HandlerExpression); removeHandlerStatement.HandlerExpression.AcceptVisitor(this, data); removeHandlerStatement.HandlerExpression = ((Expression)(nodeStack.Pop())); return null; }
void RemoveHandlerStatement(out Statement statement) { Expression expr = null; Expect(193); Expression handlerExpr = null; Expr(out expr); Expect(22); Expr(out handlerExpr); statement = new RemoveHandlerStatement(expr, handlerExpr); }
public sealed override object VisitRemoveHandlerStatement(RemoveHandlerStatement removeHandlerStatement, object data) { this.BeginVisit(removeHandlerStatement); object result = this.TrackedVisitRemoveHandlerStatement(removeHandlerStatement, data); this.EndVisit(removeHandlerStatement); return result; }
public virtual object TrackedVisitRemoveHandlerStatement(RemoveHandlerStatement removeHandlerStatement, object data) { return base.VisitRemoveHandlerStatement(removeHandlerStatement, data); }