GetOptPDT() protected method

protected GetOptPDT ( PredefinedType pt ) : AggregateType
pt PredefinedType
return AggregateType
コード例 #1
0
ファイル: BinOpSig.cs プロジェクト: karthikrajkumar/demo
            /***************************************************************************************************
            *   Set the values of the BinOpFullSig from the given BinOpSig. The ExpressionBinder is needed to get
            *   the predefined types. Returns true iff the predef types are found.
            ***************************************************************************************************/
            public BinOpFullSig(ExpressionBinder fnc, BinOpSig bos)
            {
                this.pt1      = bos.pt1;
                this.pt2      = bos.pt2;
                this.mask     = bos.mask;
                this.cbosSkip = bos.cbosSkip;
                this.pfn      = bos.pfn;
                this.grfos    = bos.grfos;
                this.fnkind   = bos.fnkind;

                _type1 = pt1 != PredefinedType.PT_UNDEFINEDINDEX ? fnc.GetOptPDT(pt1) : null;
                _type2 = pt2 != PredefinedType.PT_UNDEFINEDINDEX ? fnc.GetOptPDT(pt2) : null;
                _grflt = LiftFlags.None;
            }
コード例 #2
0
 /***************************************************************************************************
 *   Set the values of the UnaOpFullSig from the given UnaOpSig. The ExpressionBinder is needed to get
 *   the predefined type. Returns true iff the predef type is found.
 ***************************************************************************************************/
 public UnaOpFullSig(ExpressionBinder fnc, UnaOpSig uos)
 {
     this.pt       = uos.pt;
     this.grfuom   = uos.grfuom;
     this.cuosSkip = uos.cuosSkip;
     this.pfn      = uos.pfn;
     this.fnkind   = uos.fnkind;
     _type         = pt != PredefinedType.PT_UNDEFINEDINDEX ? fnc.GetOptPDT(pt) : null;
     _grflt        = LiftFlags.None;
 }
コード例 #3
0
ファイル: UnaOpSig.cs プロジェクト: noahfalk/corefx
 /***************************************************************************************************
     Set the values of the UnaOpFullSig from the given UnaOpSig. The ExpressionBinder is needed to get
     the predefined type. Returns true iff the predef type is found.
 ***************************************************************************************************/
 public UnaOpFullSig(ExpressionBinder fnc, UnaOpSig uos)
 {
     this.pt = uos.pt;
     this.grfuom = uos.grfuom;
     this.cuosSkip = uos.cuosSkip;
     this.pfn = uos.pfn;
     this.fnkind = uos.fnkind;
     _type = pt != PredefinedType.PT_UNDEFINEDINDEX ? fnc.GetOptPDT(pt) : null;
     _grflt = LiftFlags.None;
 }
コード例 #4
0
ファイル: BinOpSig.cs プロジェクト: dotnet/corefx
            /***************************************************************************************************
                Set the values of the BinOpFullSig from the given BinOpSig. The ExpressionBinder is needed to get
                the predefined types. Returns true iff the predef types are found.
            ***************************************************************************************************/
            public BinOpFullSig(ExpressionBinder fnc, BinOpSig bos)
            {
                this.pt1 = bos.pt1;
                this.pt2 = bos.pt2;
                this.mask = bos.mask;
                this.cbosSkip = bos.cbosSkip;
                this.pfn = bos.pfn;
                this.grfos = bos.grfos;
                this.fnkind = bos.fnkind;

                _type1 = pt1 != PredefinedType.PT_UNDEFINEDINDEX ? fnc.GetOptPDT(pt1) : null;
                _type2 = pt2 != PredefinedType.PT_UNDEFINEDINDEX ? fnc.GetOptPDT(pt2) : null;
                _grflt = LiftFlags.None;
            }