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 PrimitiveLessThanFixnum(rator, rand0, rand1));
 }
Ejemplo n.º 2
0
 public static SCode Make(PrimitiveLessThanFixnumXQ predicate, Quotation consequent, SCode alternative)
 {
     return
         new PCondLessThanFixnumXQQ (predicate, consequent, alternative);
 }
Ejemplo n.º 3
0
 protected PCondLessThanFixnumXQQ(PrimitiveLessThanFixnumXQ predicate, Quotation consequent, SCode alternative)
     : base(predicate, consequent, alternative)
 {
     this.consequentValue = consequent.Quoted;
 }
Ejemplo n.º 4
0
 public static SCode Make(PrimitiveLessThanFixnumXQ predicate, SCode consequent, SCode alternative)
 {
     return
         (consequent is Quotation) ? PCondLessThanFixnumXQQ.Make (predicate, (Quotation) consequent, alternative) :
         new PCondLessThanFixnumXQ (predicate, consequent, alternative);
 }
Ejemplo n.º 5
0
 protected PCondLessThanFixnumXQ(PrimitiveLessThanFixnumXQ predicate, SCode consequent, SCode alternative)
     : base(predicate, consequent, alternative)
 {
     this.rand1Value = predicate.rand1Value;
 }
Ejemplo n.º 6
0
 public static SCode Make(PrimitiveLessThanFixnumXQ predicate, Quotation consequent, SCode alternative)
 {
     return
         (new PCondLessThanFixnumXQQ(predicate, consequent, alternative));
 }
Ejemplo n.º 7
0
 protected PCondLessThanFixnumXQQ(PrimitiveLessThanFixnumXQ predicate, Quotation consequent, SCode alternative)
     : base(predicate, consequent, alternative)
 {
     this.consequentValue = consequent.Quoted;
 }
Ejemplo n.º 8
0
 public static SCode Make(PrimitiveLessThanFixnumXQ predicate, SCode consequent, SCode alternative)
 {
     return
         ((consequent is Quotation) ? PCondLessThanFixnumXQQ.Make(predicate, (Quotation)consequent, alternative) :
          new PCondLessThanFixnumXQ(predicate, consequent, alternative));
 }
Ejemplo n.º 9
0
 protected PCondLessThanFixnumXQ(PrimitiveLessThanFixnumXQ predicate, SCode consequent, SCode alternative)
     : base(predicate, consequent, alternative)
 {
     this.rand1Value = predicate.rand1Value;
 }