public EXPRMULTIGET CreateMultiGet(EXPRFLAG nFlags, CType pType, EXPRMULTI pOptionalMulti)
        {
            Debug.Assert(0 == (nFlags & ~(EXPRFLAG.EXF_MASK_ANY)));
            EXPRMULTIGET rval = new EXPRMULTIGET();

            rval.kind  = ExpressionKind.EK_MULTIGET;
            rval.type  = pType;
            rval.flags = nFlags;
            rval.SetOptionalMulti(pOptionalMulti);
            Debug.Assert(rval != null);
            return(rval);
        }
        public EXPRMULTI CreateMulti(EXPRFLAG nFlags, CType pType, EXPR pLeft, EXPR pOp)
        {
            Debug.Assert(pLeft != null);
            Debug.Assert(pOp != null);
            EXPRMULTI rval = new EXPRMULTI();

            rval.kind  = ExpressionKind.EK_MULTI;
            rval.type  = pType;
            rval.flags = nFlags;
            rval.SetLeft(pLeft);
            rval.SetOperator(pOp);
            Debug.Assert(rval != null);
            return(rval);
        }
 protected override EXPR VisitMULTI(EXPRMULTI pExpr)
 {
     EXPR rhs = Visit(pExpr.Operator);
     EXPR lhs = Visit(pExpr.Left);
     return GenerateCall(PREDEFMETH.PM_EXPRESSION_ASSIGN, lhs, rhs);
 }
Beispiel #4
0
 protected virtual EXPR VisitMULTI(EXPRMULTI pExpr)
 {
     return VisitEXPR(pExpr);
 }
Beispiel #5
0
 protected virtual EXPR VisitMULTI(EXPRMULTI pExpr)
 {
     return(VisitEXPR(pExpr));
 }
Beispiel #6
0
        public EXPRMULTI CreateMulti(EXPRFLAG nFlags, CType pType, EXPR pLeft, EXPR pOp)
        {
            Debug.Assert(pLeft != null);
            Debug.Assert(pOp != null);
            EXPRMULTI rval = new EXPRMULTI();

            rval.kind = ExpressionKind.EK_MULTI;
            rval.type = pType;
            rval.flags = nFlags;
            rval.SetLeft(pLeft);
            rval.SetOperator(pOp);
            Debug.Assert(rval != null);
            return (rval);
        }
Beispiel #7
0
        public EXPRMULTIGET CreateMultiGet(EXPRFLAG nFlags, CType pType, EXPRMULTI pOptionalMulti)
        {
            Debug.Assert(0 == (nFlags & ~(EXPRFLAG.EXF_MASK_ANY)));
            EXPRMULTIGET rval = new EXPRMULTIGET();

            rval.kind = ExpressionKind.EK_MULTIGET;
            rval.type = pType;
            rval.flags = nFlags;
            rval.SetOptionalMulti(pOptionalMulti);
            Debug.Assert(rval != null);
            return (rval);
        }