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

C# Microcode.Primitive2类代码示例

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

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



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

示例1: Make

 public static SCode Make(Primitive2 rator, Quotation rand0, SCode rand1)
 {
     return
         (rand1 is Argument) ? PrimitiveIsCharEqQA.Make (rator, rand0, (Argument) rand1) :
         (rand1 is StaticVariable) ? PrimitiveIsCharEqQS.Make (rator, rand0, (StaticVariable) rand1) :
         new PrimitiveIsCharEqQ (rator, rand0, rand1);
 }
开发者ID:NotJRM,项目名称:jrm-code-project,代码行数:7,代码来源:PrimitiveIsEq.cs


示例2: Make

 public static SCode Make(Primitive2 rator, Argument rand0, SCode rand1)
 {
     return
         (rand0 is Argument0) ? PrimitiveIsCharEqA0.Make (rator, (Argument0) rand0, rand1)
         : (rand0 is Argument1) ? PrimitiveIsCharEqA1.Make (rator, (Argument1) rand0, rand1)
         : Unimplemented ();
 }
开发者ID:NotJRM,项目名称:jrm-code-project,代码行数:7,代码来源:PrimitiveIsCharEq.cs


示例3: Make

 public static new SCode Make(Primitive2 rator, SCode rand0, SCode rand1)
 {
     return
         (rand0 is Argument) ? PrimitiveRecordRefA.Make(rator, (Argument) rand0, rand1) :
         (rand0 is StaticVariable) ? PrimitiveRecordRefS.Make (rator, (StaticVariable) rand0, rand1) :
         (rand1 is Quotation) ? PrimitiveRecordRefXQ.Make (rator, rand0, (Quotation) rand1) :
         new PrimitiveRecordRef (rator, rand0, rand1);
 }
开发者ID:NotJRM,项目名称:jrm-code-project,代码行数:8,代码来源:PrimitiveRecordRef.cs


示例4: Make

 public static new SCode Make(Primitive2 rator, SCode rand0, SCode rand1)
 {
     return
         //(rand0 is Argument) ? PrimitiveLessThanFixnumA.Make (rator, (Argument) rand0, rand1) :
         //(rand0 is StaticVariable) ? PrimitiveLessThanFixnumS.Make (rator, (StaticVariable) rand0, rand1) :
         //(rand1 is Quotation) ? PrimitiveLessThanFixnumXQ.Make (rator, rand0, (Quotation) rand1) :
         new PrimitiveLessThan (rator, rand0, rand1);
 }
开发者ID:NotJRM,项目名称:jrm-code-project,代码行数:8,代码来源:PrimitiveLessThan.cs


示例5: Make

 public static SCode Make(Primitive2 rator, Argument rand0, SCode rand1)
 {
     return
         (rand0 is Argument0) ? PrimitiveIsObjectEqA0.Make (rator, (Argument0) rand0, rand1)
         : (rand0 is Argument1) ? PrimitiveIsObjectEqA1.Make (rator, (Argument1) rand0, rand1)
         : (rand1 is LexicalVariable) ? Unimplemented()
         : (rand1 is Quotation) ? PrimitiveIsObjectEqAQ.Make (rator, rand0, (Quotation) rand1)
         : new PrimitiveIsObjectEqA (rator, rand0, rand1);
 }
开发者ID:NotJRM,项目名称:jrm-code-project,代码行数:9,代码来源:PrimitiveIsObjectEq.cs


示例6: Make

 public static new SCode Make(Primitive2 rator, SCode rand0, SCode rand1)
 {
     return
         (rand0 is LexicalVariable) ? PrimitiveGeneralCarCdrL.Make (rator, (LexicalVariable) rand0, rand1) :
         (rand0 is Quotation) ? Unimplemented() : // PrimitiveGeneralCarCdrQ.Make (rator, (Quotation) rand0, rand1)
         (rand1 is LexicalVariable) ? Unimplemented() : // PrimitiveGeneralCarCdrSL.Make (rator, rand0, (LexicalVariable) rand1)
         (rand1 is Quotation) ?  PrimitiveGeneralCarCdrSQ.Make (rator, rand0, (Quotation) rand1) :
         new PrimitiveGeneralCarCdr (rator, rand0, rand1);
 }
开发者ID:NotJRM,项目名称:jrm-code-project,代码行数:9,代码来源:PrimitiveGeneralCarCdr.cs


示例7: Make

 public static new SCode Make(Primitive2 rator, SCode rand0, SCode rand1)
 {
     return
         (rand0 is Argument) ? PrimitiveVector8BRefA.Make (rator, (Argument) rand0, rand1) :
         (rand0 is StaticVariable) ? PrimitiveVector8BRefS.Make (rator, (StaticVariable) rand0, rand1) :
         (rand1 is Argument) ? PrimitiveVector8BRefXA.Make (rator, rand0, (Argument) rand1) :
         (rand1 is StaticVariable) ? PrimitiveVector8BRefXS.Make (rator, rand0, (StaticVariable) rand1) :
         new PrimitiveVector8BRef (rator, rand0, rand1);
 }
开发者ID:NotJRM,项目名称:jrm-code-project,代码行数:9,代码来源:PrimitiveVector8BRef.cs


示例8: Make

 public static new SCode Make(Primitive2 rator, SCode rand0, SCode rand1)
 {
     return
         (rand0 is LexicalVariable) ? PrimitivePlusFixnumL.Make (rator, (LexicalVariable) rand0, rand1) :
         (rand0 is Quotation) ? PrimitivePlusFixnumQ.Make (rator, (Quotation) rand0, rand1) :
         (rand1 is LexicalVariable) ? PrimitivePlusFixnumSL.Make (rator, rand0, (LexicalVariable) rand1) :
         (rand1 is Quotation) ? PrimitivePlusFixnumSQ.Make (rator, rand0, (Quotation) rand1) :
         new PrimitivePlusFixnum (rator, rand0, rand1);
 }
开发者ID:NotJRM,项目名称:jrm-code-project,代码行数:9,代码来源:PrimitivePlusFixnum.cs


示例9: Make

 public static new SCode Make(Primitive2 rator, SCode rand0, SCode rand1)
 {
     return
         (rand0 is PrimitiveObjectType &&
         Configuration.EnableObjectTypePrimitives) ? RewriteAsSameType ((PrimitiveObjectType) rand0, rand1) :
         (rand0 is Quotation) ? PrimitiveIsObjectTypeQ.Make (rator, (Quotation) rand0, rand1) :
         //(rand1 is Quotation) ? PrimitiveIsObjectTypeSQ.Make (rator, rand0, (Quotation) rand1) :
         (rand1 is Argument) ? PrimitiveIsObjectTypeXA.Make (rator, rand0, (Argument) rand1) :
         new PrimitiveIsObjectType (rator, rand0, rand1);
 }
开发者ID:NotJRM,项目名称:jrm-code-project,代码行数:10,代码来源:PrimitiveIsObjectType.cs


示例10: PrimitivePlusFixnumL1

 protected PrimitivePlusFixnumL1(Primitive2 rator, LexicalVariable1 rand0, SCode rand1)
     : base(rator, rand0, rand1)
 {
 }
开发者ID:NotJRM,项目名称:jrm-code-project,代码行数:4,代码来源:PrimitivePlusFixnum.cs


示例11: PrimitivePlusFixnumA1A0

 PrimitivePlusFixnumA1A0(Primitive2 rator, Argument1 rand0, Argument0 rand1)
     : base(rator, rand0, rand1)
 {
 }
开发者ID:NotJRM,项目名称:jrm-code-project,代码行数:4,代码来源:PrimitivePlusFixnum.cs


示例12: PrimitiveLessThan

 protected PrimitiveLessThan(Primitive2 rator, SCode rand0, SCode rand1)
     : base(rator, rand0, rand1)
 {
 }
开发者ID:NotJRM,项目名称:jrm-code-project,代码行数:4,代码来源:PrimitiveLessThan.cs


示例13: PrimitivePlusFixnumAQ

 protected PrimitivePlusFixnumAQ(Primitive2 rator, Argument rand0, Quotation rand1)
     : base(rator, rand0, rand1)
 {
     this.rand1Value = (int) rand1.Quoted;
 }
开发者ID:NotJRM,项目名称:jrm-code-project,代码行数:5,代码来源:PrimitivePlusFixnum.cs


示例14: PrimitivePlusFixnumAA1

 protected PrimitivePlusFixnumAA1(Primitive2 rator, Argument rand0, Argument1 rand1)
     : base(rator, rand0, rand1)
 {
 }
开发者ID:NotJRM,项目名称:jrm-code-project,代码行数:4,代码来源:PrimitivePlusFixnum.cs


示例15: PrimitivePlusFixnumL1A0

 protected PrimitivePlusFixnumL1A0(Primitive2 rator, LexicalVariable1 rand0, Argument0 rand1)
     : base(rator, rand0, rand1)
 {
 }
开发者ID:NotJRM,项目名称:jrm-code-project,代码行数:4,代码来源:PrimitivePlusFixnum.cs


示例16: PrimitivePlusFixnumA

 protected PrimitivePlusFixnumA(Primitive2 rator, Argument rand0, SCode rand1)
     : base(rator, rand0, rand1)
 {
 }
开发者ID:NotJRM,项目名称:jrm-code-project,代码行数:4,代码来源:PrimitivePlusFixnum.cs


示例17: PrimitivePlusFixnumL

 protected PrimitivePlusFixnumL(Primitive2 rator, LexicalVariable rand0, SCode rand1)
     : base(rator, rand0, rand1)
 {
     this.rand0Name = rand0.Name;
     this.rand0Depth = rand0.Depth;
     this.rand0Offset = rand0.Offset;
 }
开发者ID:NotJRM,项目名称:jrm-code-project,代码行数:7,代码来源:PrimitivePlusFixnum.cs


示例18: PrimitivePlusFixnumAL

 protected PrimitivePlusFixnumAL(Primitive2 rator, Argument rand0, LexicalVariable rand1)
     : base(rator, rand0, rand1)
 {
     this.rand1Name = rand1.Name;
     this.rand1Depth = rand1.Depth;
     this.rand1Offset = rand1.Offset;
 }
开发者ID:NotJRM,项目名称:jrm-code-project,代码行数:7,代码来源:PrimitivePlusFixnum.cs


示例19: 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



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


鲜花

握手

雷人

路过

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

请发表评论

全部评论

专题导读
上一篇:
C# Microcode.Symbol类代码示例发布时间:2022-05-26
下一篇:
C# Microcode.Control类代码示例发布时间:2022-05-26
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

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

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

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