Beispiel #1
0
 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));
 }
 public static SCode Make(PrimitiveRecordRefXQ predicate, Quotation consequent, SCode alternative)
 {
     return
         (new PCondRecordRefXQQ(predicate, consequent, alternative));
 }
 protected PCondRecordRefXQQ(PrimitiveRecordRefXQ predicate, Quotation consequent, SCode alternative)
     : base(predicate, consequent, alternative)
 {
     this.consequentValue = consequent.Quoted;
 }
 public static SCode Make(PrimitiveRecordRefXQ predicate, SCode consequent, SCode alternative)
 {
     return
         ((consequent is Quotation) ? PCondRecordRefXQQ.Make(predicate, (Quotation)consequent, alternative) :
          new PCondRecordRefXQ(predicate, consequent, alternative));
 }
 protected PCondRecordRefXQ(PrimitiveRecordRefXQ predicate, SCode consequent, SCode alternative)
     : base(predicate, consequent, alternative)
 {
     this.rand1Value = predicate.offset;
 }
 public static SCode Make(PrimitiveRecordRefXQ predicate, Quotation consequent, SCode alternative)
 {
     return
         new PCondRecordRefXQQ (predicate, consequent, alternative);
 }
 protected PCondRecordRefXQQ(PrimitiveRecordRefXQ predicate, Quotation consequent, SCode alternative)
     : base(predicate, consequent, alternative)
 {
     this.consequentValue = consequent.Quoted;
 }
 public static SCode Make(PrimitiveRecordRefXQ predicate, SCode consequent, SCode alternative)
 {
     return
         (consequent is Quotation) ? PCondRecordRefXQQ.Make (predicate, (Quotation) consequent, alternative) :
         new PCondRecordRefXQ (predicate, consequent, alternative);
 }
 protected PCondRecordRefXQ(PrimitiveRecordRefXQ predicate, SCode consequent, SCode alternative)
     : base(predicate, consequent, alternative)
 {
     this.rand1Value = predicate.offset;
 }