示例#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));
 }
示例#2
0
 internal PCondRecordRefSQXA0(PrimitiveRecordRefSQ predicate, SCode consequent, Argument0 alternative)
     : base(predicate, consequent, alternative)
 {
 }
示例#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));
 }
示例#4
0
 protected PCondRecordRefSQXA(PrimitiveRecordRefSQ predicate, SCode consequent, Argument alternative)
     : base(predicate, consequent, alternative)
 {
     this.alternativeOffset = alternative.Offset;
 }
示例#5
0
 internal PCondRecordRefSQXA0(PrimitiveRecordRefSQ predicate, SCode consequent, Argument0 alternative)
     : base(predicate, consequent, alternative)
 {
 }
示例#6
0
 protected PCondRecordRefSQ(PrimitiveRecordRefSQ predicate, SCode consequent, SCode alternative)
     : base(predicate, consequent, alternative)
 {
     this.rand1Value = predicate.offset;
 }
示例#7
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);
 }
示例#8
0
 protected PCondRecordRefSQXA(PrimitiveRecordRefSQ predicate, SCode consequent, Argument alternative)
     : base(predicate, consequent, alternative)
 {
     this.alternativeOffset = alternative.Offset;
 }
示例#9
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);
 }
示例#10
0
 protected PCondRecordRefSQ(PrimitiveRecordRefSQ predicate, SCode consequent, SCode alternative)
     : base(predicate, consequent, alternative)
 {
     this.rand1Value = predicate.offset;
 }
示例#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));
 }