Пример #1
0
 public static SCode Make(Primitive2 rator, Argument rand0, SCode rand1)
 {
     return
         ((rand0 is Argument0) ? PrimitiveRecordRefA0.Make(rator, (Argument0)rand0, rand1) :
          (rand1 is Quotation) ? PrimitiveRecordRefAQ.Make(rator, rand0, (Quotation)rand1) :
          (rand1 is StaticVariable) ? new PrimitiveRecordRefAS(rator, rand0, (StaticVariable)rand1) :
          new PrimitiveRecordRefA(rator, rand0, rand1));
 }
Пример #2
0
 public static SCode Make(PrimitiveRecordRefA0 predicate, SCode consequent, SCode alternative)
 {
     return
         (new PCondRecordRefA0(predicate, consequent, alternative));
 }
Пример #3
0
 protected PCondRecordRefA0(PrimitiveRecordRefA0 predicate, SCode consequent, SCode alternative)
     : base(predicate, consequent, alternative)
 {
 }
Пример #4
0
 public static SCode Make(PrimitiveRecordRefA0 predicate, SCode consequent, SCode alternative)
 {
     return
         new PCondRecordRefA0 (predicate, consequent, alternative);
 }
Пример #5
0
 protected PCondRecordRefA0(PrimitiveRecordRefA0 predicate, SCode consequent, SCode alternative)
     : base(predicate, consequent, alternative)
 {
 }