Example #1
0
 public static SCode Make(PrimitiveRecordRefSQ predicate, SCode consequent, Argument alternative)
 {
     return
         ((alternative is Argument0) ? new PCondRecordRefSQXA0(predicate, consequent, (Argument0)alternative) :
          new PCondRecordRefSQXA(predicate, consequent, alternative));
 }
Example #2
0
 internal PCondRecordRefSQXA0(PrimitiveRecordRefSQ predicate, SCode consequent, Argument0 alternative)
     : base(predicate, consequent, alternative)
 {
 }
Example #3
0
 public static SCode Make(PrimitiveRecordRefSQ predicate, SCode consequent, SCode alternative)
 {
     return
         ((alternative is Argument) ? PCondRecordRefSQXA.Make(predicate, consequent, (Argument)alternative) :
          new PCondRecordRefSQ(predicate, consequent, alternative));
 }
Example #4
0
 protected PCondRecordRefSQXA(PrimitiveRecordRefSQ predicate, SCode consequent, Argument alternative)
     : base(predicate, consequent, alternative)
 {
     this.alternativeOffset = alternative.Offset;
 }
 internal PCondRecordRefSQXA0(PrimitiveRecordRefSQ predicate, SCode consequent, Argument0 alternative)
     : base(predicate, consequent, alternative)
 {
 }
Example #6
0
 protected PCondRecordRefSQ(PrimitiveRecordRefSQ predicate, SCode consequent, SCode alternative)
     : base(predicate, consequent, alternative)
 {
     this.rand1Value = predicate.offset;
 }
 public static SCode Make(PrimitiveRecordRefSQ predicate, SCode consequent, Argument alternative)
 {
     return
         (alternative is Argument0) ? new PCondRecordRefSQXA0 (predicate, consequent, (Argument0) alternative) :
         new PCondRecordRefSQXA (predicate, consequent, alternative);
 }
 protected PCondRecordRefSQXA(PrimitiveRecordRefSQ predicate, SCode consequent, Argument alternative)
     : base(predicate, consequent, alternative)
 {
     this.alternativeOffset = alternative.Offset;
 }
 public static SCode Make(PrimitiveRecordRefSQ predicate, SCode consequent, SCode alternative)
 {
     return
         (alternative is Argument) ? PCondRecordRefSQXA.Make (predicate, consequent, (Argument) alternative) :
         new PCondRecordRefSQ (predicate, consequent, alternative);
 }
Example #10
0
 protected PCondRecordRefSQ(PrimitiveRecordRefSQ predicate, SCode consequent, SCode alternative)
     : base(predicate, consequent, alternative)
 {
     this.rand1Value = predicate.offset;
 }
Example #11
0
 public static SCode Make(Primitive2 rator, StaticVariable rand0, SCode rand1)
 {
     return
         ((rand1 is Quotation) ? PrimitiveRecordRefSQ.Make(rator, rand0, (Quotation)rand1) :
          new PrimitiveRecordRefS(rator, rand0, rand1));
 }