本文整理汇总了C#中Microcode.Primitive2类的典型用法代码示例。如果您正苦于以下问题:C# Primitive2类的具体用法?C# Primitive2怎么用?C# Primitive2使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
Primitive2类属于Microcode命名空间,在下文中一共展示了Primitive2类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的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);
}
示例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 ();
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例10: PrimitivePlusFixnumL1
protected PrimitivePlusFixnumL1(Primitive2 rator, LexicalVariable1 rand0, SCode rand1)
: base(rator, rand0, rand1)
{
}
示例11: PrimitivePlusFixnumA1A0
PrimitivePlusFixnumA1A0(Primitive2 rator, Argument1 rand0, Argument0 rand1)
: base(rator, rand0, rand1)
{
}
示例12: PrimitiveLessThan
protected PrimitiveLessThan(Primitive2 rator, SCode rand0, SCode rand1)
: base(rator, rand0, rand1)
{
}
示例13: PrimitivePlusFixnumAQ
protected PrimitivePlusFixnumAQ(Primitive2 rator, Argument rand0, Quotation rand1)
: base(rator, rand0, rand1)
{
this.rand1Value = (int) rand1.Quoted;
}
示例14: PrimitivePlusFixnumAA1
protected PrimitivePlusFixnumAA1(Primitive2 rator, Argument rand0, Argument1 rand1)
: base(rator, rand0, rand1)
{
}
示例15: PrimitivePlusFixnumL1A0
protected PrimitivePlusFixnumL1A0(Primitive2 rator, LexicalVariable1 rand0, Argument0 rand1)
: base(rator, rand0, rand1)
{
}