Example #1
0
 public static new SCode Make(Primitive2 rator, SCode rand0, SCode rand1)
 {
     return
         ((rand0 is Argument) ? PrimitiveGreaterThanFixnumA.Make(rator, (Argument)rand0, rand1) :
          (rand0 is StaticVariable) ? PrimitiveGreaterThanFixnumS.Make(rator, (StaticVariable)rand0, rand1) :
          (rand0 is Quotation) ? PrimitiveGreaterThanFixnumQ.Make(rator, (Quotation)rand0, rand1) :
          (rand1 is Quotation) ? new PrimitiveGreaterThanFixnumXQ(rator, rand0, (Quotation)rand1) :
          new PrimitiveGreaterThanFixnum(rator, rand0, rand1));
 }
 public static SCode Make(PrimitiveGreaterThanFixnumA predicate, SCode consequent, SCode alternative)
 {
     return
         ((predicate is PrimitiveGreaterThanFixnumA0) ? PCondGreaterThanFixnumA0.Make((PrimitiveGreaterThanFixnumA0)predicate, consequent, alternative) :
          new PCondGreaterThanFixnumA(predicate, consequent, alternative));
 }
 public static SCode Make(PrimitiveGreaterThanFixnumA predicate, SCode consequent, SCode alternative)
 {
     return
         (predicate is PrimitiveGreaterThanFixnumA0) ? PCondGreaterThanFixnumA0.Make ((PrimitiveGreaterThanFixnumA0) predicate, consequent, alternative) :
          new PCondGreaterThanFixnumA (predicate, consequent, alternative);
 }
 protected PCondGreaterThanFixnumA(PrimitiveGreaterThanFixnumA predicate, SCode consequent, SCode alternative)
     : base(predicate, consequent, alternative)
 {
     this.rand0Offset = predicate.rand0Offset;
 }
 protected PCondGreaterThanFixnumA(PrimitiveGreaterThanFixnumA predicate, SCode consequent, SCode alternative)
     : base(predicate, consequent, alternative)
 {
     this.rand0Offset = predicate.rand0Offset;
 }