• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

C# PrimitiveCombination2类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C#中PrimitiveCombination2的典型用法代码示例。如果您正苦于以下问题:C# PrimitiveCombination2类的具体用法?C# PrimitiveCombination2怎么用?C# PrimitiveCombination2使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



PrimitiveCombination2类属于命名空间,在下文中一共展示了PrimitiveCombination2类的18个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。

示例1: PCondIsEqCar

 protected PCondIsEqCar(PrimitiveCombination2 predicate, SCode consequent, SCode alternative)
     : base(predicate, consequent, alternative)
 {
     this.rand0Inner = ((PrimitiveCar) predicate.Operand0).Operand;
     #if DEBUG
     this.rand0InnerType = this.rand0Inner.GetType();
     #endif
 }
开发者ID:NotJRM,项目名称:jrm-code-project,代码行数:8,代码来源:PCondIsEqCar.cs


示例2: Make

 public static SCode Make(PrimitiveCombination2 predicate, SCode alternative)
 {
     return
         (predicate.Operand0 is Argument) ? POrIsEqA.Make (predicate, alternative) :
         (predicate.Operand0 is Quotation) ? POrIsEqQ.Make (predicate, alternative) :
         (predicate.Operand0 is StaticVariable) ? POrIsEqS.Make (predicate, alternative) :
         (predicate.Operand1 is Argument) ? POrIsEqXA.Make (predicate, alternative) :
         (predicate.Operand1 is Quotation) ? POrIsEqXQ.Make (predicate, alternative) :
         (predicate.Operand1 is StaticVariable) ? POrIsEqXS.Make (predicate, alternative) :
         new POrIsEq (predicate, alternative);
 }
开发者ID:NotJRM,项目名称:jrm-code-project,代码行数:11,代码来源:POrIsEq.cs


示例3: PCond2

        protected PCond2 (PrimitiveCombination2 predicate, SCode consequent, SCode alternative)
            : base (predicate, consequent, alternative)
        {
            this.procedure = predicate.Rator;
            this.method = this.procedure.Method;
            this.rand0 = predicate.Operand0;
            this.rand1 = predicate.Operand1;
#if DEBUG
            rand0Type = rand0.GetType ();
            rand1Type = rand1.GetType ();
#endif
        }
开发者ID:NotJRM,项目名称:jrm-code-project,代码行数:12,代码来源:PCond2.cs


示例4: Make

 public static SCode Make (PrimitiveCombination2 predicate, SCode consequent, SCode alternative)
 {
     return
         (predicate.Operand0 is Argument) ? PCondIsEqA.Make (predicate, consequent, alternative) :
         (predicate.Operand0 is PrimitiveCar) ? PCondIsEqCar.Make (predicate, consequent, alternative) :
         (predicate.Operand0 is Quotation) ? PCondIsEqQ.Make (predicate, consequent, alternative) :
         (predicate.Operand0 is StaticVariable) ? PCondIsEqS.Make (predicate, consequent, alternative) :
         (predicate.Operand1 is Argument) ? PCondIsEqXA.Make (predicate, consequent, alternative) :
         (predicate.Operand1 is Quotation) ? PCondIsEqXQ.Make (predicate, consequent, alternative) :
         (predicate.Operand1 is StaticVariable) ? PCondIsEqXS.Make (predicate, consequent, alternative) :
         (consequent is Argument) ? PCondIsEqXXA.Make (predicate, (Argument) consequent, alternative) :
         (consequent is Quotation) ? PCondIsEqXXQ.Make (predicate, (Quotation) consequent, alternative) :
         (consequent is StaticVariable) ? Unimplemented () :
         (alternative is Argument) ? PCondIsEqXXXA.Make (predicate, consequent, (Argument) alternative) :
         (alternative is Quotation) ? PCondIsEqXXXQ.Make (predicate, consequent, (Quotation) alternative) :
         (alternative is StaticVariable) ? Unimplemented () :
         new PCondIsEq (predicate, consequent, alternative);
 }
开发者ID:NotJRM,项目名称:jrm-code-project,代码行数:18,代码来源:PCondIsEq.cs


示例5: Make

 public static SCode Make (PrimitiveCombination2 predicate, SCode consequent, SCode alternative)
 {
     return
         //(predicate is PrimitiveGreaterThanFixnum) ? PCondGreaterThanFixnum.Make ((PrimitiveGreaterThanFixnum) predicate, consequent, alternative) :
         (predicate is PrimitiveIsEq) ? PCondIsEq.Make ((PrimitiveIsEq) predicate, consequent, alternative) :
         //(predicate is PrimitiveLessThanFixnum) ? PCondLessThanFixnum.Make ((PrimitiveLessThanFixnum) predicate, consequent, alternative) :
         //(predicate is PrimitiveIsObjectType) ? PCondIsObjectType.Make ((PrimitiveIsObjectType) predicate, consequent, alternative) :
         //(predicate is PrimitiveRecordRef) ? PCondRecordRef.Make ((PrimitiveRecordRef) predicate, consequent, alternative) :
         //(predicate is PrimitiveVectorRef) ? PCondVectorRef.Make ((PrimitiveVectorRef) predicate, consequent, alternative) :
         (predicate.Operand0 is Argument) ? PCond2A.Make (predicate, consequent, alternative) :
         (predicate.Operand0 is Quotation) ? PCond2Q.Make (predicate, consequent, alternative) :
         (predicate.Operand0 is StaticVariable) ? PCond2S.Make (predicate, consequent, alternative) :
         (predicate.Operand1 is Argument) ? PCond2XA.Make (predicate, consequent, alternative) :
         (predicate.Operand1 is Quotation) ? PCond2XQ.Make (predicate, consequent, alternative) :
         (predicate.Operand1 is StaticVariable) ? PCond2XS.Make (predicate, consequent, alternative) :
         (consequent is Argument) ? PCond2XXA.Make (predicate, (Argument) consequent, alternative) :
         (consequent is Quotation) ? PCond2XXQ.Make (predicate, (Quotation) consequent, alternative) :
         (consequent is StaticVariable) ? Unimplemented():
         (alternative is Argument) ? PCond2XXXA.Make (predicate, consequent, (Argument) alternative) :
         (alternative is Quotation) ? PCond2XXXQ.Make (predicate, consequent, (Quotation) alternative) :
         (alternative is StaticVariable) ? Unimplemented():
         new PCond2 (predicate, consequent, alternative);
 }
开发者ID:NotJRM,项目名称:jrm-code-project,代码行数:23,代码来源:PCond2.cs


示例6: Make

 public static new SCode Make(PrimitiveCombination2 predicate, SCode consequent, SCode alternative)
 {
     return
         //(consequent is Argument) ? PCondIsEqA0SA.Make (predicate, (Argument) consequent, alternative) :
         //(consequent is Quotation) ? PCondIsEqA0SQ.Make (predicate, (Quotation) consequent, alternative) :
         //(consequent is StaticVariable) ? PCondIsEqA0SS.Make (predicate, (StaticVariable) consequent, alternative) :
         //(alternative is Argument) ? PCondIsEqA0SXA.Make (predicate, consequent, (Argument) alternative) :
         //(alternative is Quotation) ? PCondIsEqA0SXQ.Make (predicate, consequent, (Quotation) alternative) :
         //(alternative is StaticVariable) ? PCondIsEqA0SXS.Make (predicate, consequent, (StaticVariable) alternative) :
         new PCondIsEqCarA0S (predicate, consequent, alternative);
 }
开发者ID:NotJRM,项目名称:jrm-code-project,代码行数:11,代码来源:PCondIsEqCar.cs


示例7: PCondIsEqCarA0

 protected PCondIsEqCarA0(PrimitiveCombination2 predicate, SCode consequent, SCode alternative)
     : base(predicate, consequent, alternative)
 {
 }
开发者ID:NotJRM,项目名称:jrm-code-project,代码行数:4,代码来源:PCondIsEqCar.cs


示例8: PCondIsEqCarA

 protected PCondIsEqCarA(PrimitiveCombination2 predicate, SCode consequent, SCode alternative)
     : base(predicate, consequent, alternative)
 {
     this.rand0Offset = ((Argument) ((PrimitiveCar) predicate.Operand0).Operand).Offset;
 }
开发者ID:NotJRM,项目名称:jrm-code-project,代码行数:5,代码来源:PCondIsEqCar.cs


示例9: PCond2SQXQ

 protected PCond2SQXQ (PrimitiveCombination2 predicate, SCode consequent, Quotation alternative)
     : base (predicate, consequent, alternative)
 {
     this.alternativeValue = alternative.Quoted;
 }
开发者ID:NotJRM,项目名称:jrm-code-project,代码行数:5,代码来源:PCond2.cs


示例10: PCond2SQ

 protected PCond2SQ (PrimitiveCombination2 predicate, SCode consequent, SCode alternative)
     : base (predicate, consequent, alternative)
 {
     this.rand1Value = ((Quotation) predicate.Operand1).Quoted;
 }
开发者ID:NotJRM,项目名称:jrm-code-project,代码行数:5,代码来源:PCond2.cs


示例11: PCond2SA

 protected PCond2SA (PrimitiveCombination2 predicate, SCode consequent, SCode alternative)
     : base (predicate, consequent, alternative)
 {
     this.rand1Offset = ((Argument) predicate.Operand1).Offset;
 }
开发者ID:NotJRM,项目名称:jrm-code-project,代码行数:5,代码来源:PCond2.cs


示例12: PCond2SQXA

 protected PCond2SQXA (PrimitiveCombination2 predicate, SCode consequent, Argument alternative)
     : base (predicate, consequent, alternative)
 {
     this.alternativeOffset = alternative.Offset;
 }
开发者ID:NotJRM,项目名称:jrm-code-project,代码行数:5,代码来源:PCond2.cs


示例13: PCond2SQXA0

 protected PCond2SQXA0 (PrimitiveCombination2 predicate, SCode consequent, Argument0 alternative)
     : base (predicate, consequent, alternative)
 {
 }
开发者ID:NotJRM,项目名称:jrm-code-project,代码行数:4,代码来源:PCond2.cs


示例14: PCond2A0SA

 protected PCond2A0SA (PrimitiveCombination2 predicate, Argument consequent, SCode alternative)
     : base (predicate, consequent, alternative)
 {
     this.consequentOffset = consequent.Offset;
 }
开发者ID:NotJRM,项目名称:jrm-code-project,代码行数:5,代码来源:PCond2.cs


示例15: PCond2SQQ

 protected PCond2SQQ (PrimitiveCombination2 predicate, Quotation consequent, SCode alternative)
     : base (predicate, consequent, alternative)
 {
     this.consequentValue = consequent.Quoted;
 }
开发者ID:NotJRM,项目名称:jrm-code-project,代码行数:5,代码来源:PCond2.cs


示例16: PCond2SQQS

 protected PCond2SQQS (PrimitiveCombination2 predicate, Quotation consequent, StaticVariable alternative)
     : base (predicate, consequent, alternative)
 {
     this.alternativeName = alternative.Name;
     this.alternativeOffset = alternative.Offset;
 }
开发者ID:NotJRM,项目名称:jrm-code-project,代码行数:6,代码来源:PCond2.cs


示例17: PCondIsEqCarA0S

 protected PCondIsEqCarA0S(PrimitiveCombination2 predicate, SCode consequent, SCode alternative)
     : base(predicate, consequent, alternative)
 {
     this.rand1Name = ((StaticVariable) predicate.Operand1).Name;
     this.rand1Offset = ((StaticVariable) predicate.Operand1).Offset;
 }
开发者ID:NotJRM,项目名称:jrm-code-project,代码行数:6,代码来源:PCondIsEqCar.cs


示例18: PCond2SQS

 protected PCond2SQS (PrimitiveCombination2 predicate, StaticVariable consequent, SCode alternative)
     : base (predicate, consequent, alternative)
 {
     this.consequentName = consequent.Name;
     this.consequentOffset = consequent.Offset;
 }
开发者ID:NotJRM,项目名称:jrm-code-project,代码行数:6,代码来源:PCond2.cs



注:本文中的PrimitiveCombination2类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# PrimitiveExpression类代码示例发布时间:2022-05-24
下一篇:
C# PrimitiveBaseShape类代码示例发布时间:2022-05-24
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap