public ExprEvent CreateEvent(CType pType, Expr pOptionalObject, EventWithType EWT) { ExprEvent rval = new ExprEvent(pType); rval.OptionalObject = pOptionalObject; rval.EventWithType = EWT; return(rval); }
public ExprEvent CreateEvent(CType pType, Expr pOptionalObject, EventWithType EWT) { ExprEvent rval = new ExprEvent(); rval.Kind = ExpressionKind.EK_EVENT; rval.Type = pType; rval.Flags = 0; rval.OptionalObject = pOptionalObject; if (EWT != null) { rval.EventWithType = EWT; } Debug.Assert(rval != null); return(rval); }
protected virtual Expr VisitEVENT(ExprEvent pExpr) { return(VisitEXPR(pExpr)); }