Пример #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(PrimitiveGreaterThanFixnumQ predicate, SCode consequent, SCode alternative)
 {
     return
         ((predicate is PrimitiveGreaterThanFixnumQA) ? PCondGreaterThanFixnumQA.Make((PrimitiveGreaterThanFixnumQA)predicate, consequent, alternative) :
          new PCondGreaterThanFixnumQ(predicate, consequent, alternative));
 }
 public static SCode Make(PrimitiveGreaterThanFixnumQ predicate, SCode consequent, SCode alternative)
 {
     return
         (predicate is PrimitiveGreaterThanFixnumQA) ? PCondGreaterThanFixnumQA.Make ((PrimitiveGreaterThanFixnumQA) predicate, consequent, alternative) :
         new PCondGreaterThanFixnumQ (predicate, consequent, alternative);
 }
 protected PCondGreaterThanFixnumQ(PrimitiveGreaterThanFixnumQ predicate, SCode consequent, SCode alternative)
     : base(predicate, consequent, alternative)
 {
     this.rand0Value = predicate.rand0Value;
 }
 protected PCondGreaterThanFixnumQ(PrimitiveGreaterThanFixnumQ predicate, SCode consequent, SCode alternative)
     : base(predicate, consequent, alternative)
 {
     this.rand0Value = predicate.rand0Value;
 }