Example #1
0
 public EXPRFUNCPTR CreateFunctionPointer(EXPRFLAG nFlags, CType pType, EXPR pObject, MethWithInst MWI)
 {
     Debug.Assert(0 == (nFlags & ~(EXPRFLAG.EXF_BASECALL)));
     EXPRFUNCPTR rval = new EXPRFUNCPTR();
     rval.kind = ExpressionKind.EK_FUNCPTR;
     rval.type = pType;
     rval.flags = nFlags;
     rval.OptionalObject = pObject;
     rval.mwi = new MethWithInst(MWI);
     Debug.Assert(rval != null);
     return (rval);
 }
        public EXPRFUNCPTR CreateFunctionPointer(EXPRFLAG nFlags, CType pType, EXPR pObject, MethWithInst MWI)
        {
            Debug.Assert(0 == (nFlags & ~(EXPRFLAG.EXF_BASECALL)));
            EXPRFUNCPTR rval = new EXPRFUNCPTR();

            rval.kind           = ExpressionKind.EK_FUNCPTR;
            rval.type           = pType;
            rval.flags          = nFlags;
            rval.OptionalObject = pObject;
            rval.mwi            = new MethWithInst(MWI);
            Debug.Assert(rval != null);
            return(rval);
        }
Example #3
0
 protected virtual EXPR VisitFUNCPTR(EXPRFUNCPTR pExpr)
 {
     return VisitEXPR(pExpr);
 }
Example #4
0
 protected virtual EXPR VisitFUNCPTR(EXPRFUNCPTR pExpr)
 {
     return(VisitEXPR(pExpr));
 }