public virtual object TrackedVisitRemoveHandlerStatement(RemoveHandlerStatement removeHandlerStatement, object data)
 {
     return base.VisitRemoveHandlerStatement(removeHandlerStatement, data);
 }
 public override sealed object VisitRemoveHandlerStatement(RemoveHandlerStatement removeHandlerStatement, object data)
 {
     this.BeginVisit(removeHandlerStatement);
     object result = this.TrackedVisitRemoveHandlerStatement(removeHandlerStatement, data);
     this.EndVisit(removeHandlerStatement);
     return result;
 }
 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");
 }
Exemple #5
0
 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 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;
 }