Пример #1
0
 public static SCode Make(PrimitiveCombination2A0L predicate, Quotation consequent, Argument1 alternative)
 {
     return
         new PCond2A0LQA1 (predicate, consequent, alternative);
 }
Пример #2
0
 // (a0 l a0 s)
 protected PCond2A0LA0(PrimitiveCombination2A0L predicate, Argument0 consequent, SCode alternative)
     : base(predicate, consequent, alternative)
 {
 }
Пример #3
0
 // (a0 l q a1)
 PCond2A0LQA1(PrimitiveCombination2A0L predicate, Quotation consequent, Argument1 alternative)
     : base(predicate, consequent, alternative)
 {
 }
Пример #4
0
 PCond2A0LSQ(PrimitiveCombination2A0L predicate, SCode consequent, Quotation alternative)
     : base(predicate, consequent, alternative)
 {
     this.alternativeValue = alternative.Quoted;
 }
Пример #5
0
 protected PCond2A0L(PrimitiveCombination2A0L predicate, SCode consequent, SCode alternative)
     : base(predicate, consequent, alternative)
 {
     this.rand1Name = predicate.rand1Name;
     this.rand1Depth = predicate.rand1Depth;
     this.rand1Offset = predicate.rand1Offset;
 }
Пример #6
0
 protected PCond2A0LSL(PrimitiveCombination2A0L predicate, SCode consequent, LexicalVariable alternative)
     : base(predicate, consequent, alternative)
 {
     this.alternativeName = alternative.Name;
     this.alternativeDepth = alternative.Depth;
     this.alternativeOffset = alternative.Offset;
 }
Пример #7
0
 PCond2A0LSL1(PrimitiveCombination2A0L predicate, SCode consequent, LexicalVariable1 alternative)
     : base(predicate, consequent, alternative)
 {
 }
Пример #8
0
 // (a0 l l1 l1)
 protected PCond2A0LL1A(PrimitiveCombination2A0L predicate, LexicalVariable1 consequent, Argument alternative)
     : base(predicate, consequent, alternative)
 {
 }
Пример #9
0
 public static SCode Make(PrimitiveCombination2A0L predicate, LexicalVariable1 consequent, Quotation alternative)
 {
     return
         new PCond2A0LL1Q (predicate, consequent, alternative);
 }
Пример #10
0
 protected PCond2A0LL(PrimitiveCombination2A0L predicate, LexicalVariable consequent, SCode alternative)
     : base(predicate, consequent, alternative)
 {
     this.consequentName = consequent.Name;
     this.consequentDepth = consequent.Depth;
     this.consequentOffset = consequent.Offset;
 }
Пример #11
0
 public static SCode Make(PrimitiveCombination2A0L predicate, LexicalVariable consequent, SCode alternative)
 {
     return
         (consequent is Argument) ? PCond2A0LA.Make (predicate, (Argument) consequent, alternative) :
         (consequent is LexicalVariable1) ? PCond2A0LL1.Make (predicate, (LexicalVariable1) consequent, alternative) :
         (alternative is LexicalVariable) ? PCond2A0LLL.Make (predicate, consequent, (LexicalVariable) alternative) :
         (alternative is Quotation) ? PCond2A0LLQ.Make (predicate, consequent, (Quotation) alternative) :
         new PCond2A0LL (predicate, consequent, alternative);
 }
Пример #12
0
 // (a0 l a a0)
 PCond2A0LAA0(PrimitiveCombination2A0L predicate, Argument consequent, Argument0 alternative)
     : base(predicate, consequent, alternative)
 {
 }
Пример #13
0
 public static SCode Make(PrimitiveCombination2A0L predicate, Argument1 consequent, Argument0 alternative)
 {
     return
         new PCond2A0LA1A0 (predicate, consequent, alternative);
 }
Пример #14
0
 // (a0 l a1 l1)
 protected PCond2A0LA1A(PrimitiveCombination2A0L predicate, Argument1 consequent, Argument alternative)
     : base(predicate, consequent, alternative)
 {
 }
Пример #15
0
 public static SCode Make(PrimitiveCombination2A0L predicate, SCode consequent, Argument alternative)
 {
     return
         (alternative is Argument0) ? PCond2A0LSA0.Make (predicate, consequent, (Argument0) alternative) :
         (alternative is Argument1) ? PCond2A0LSA1.Make (predicate, consequent, (Argument1) alternative) :
         new PCond2A0LSA (predicate, consequent, alternative);
 }
Пример #16
0
 public static SCode Make(PrimitiveCombination2A0L predicate, LexicalVariable consequent, Argument0 alternative)
 {
     return
         new PCond2A0LLA0 (predicate, consequent, alternative);
 }
Пример #17
0
 PCond2A0LSA1(PrimitiveCombination2A0L predicate, SCode consequent, Argument1 alternative)
     : base(predicate, consequent, alternative)
 {
 }
Пример #18
0
 // (a0 l l a1)
 PCond2A0LLA1(PrimitiveCombination2A0L predicate, LexicalVariable consequent, Argument1 alternative)
     : base(predicate, consequent, alternative)
 {
 }
Пример #19
0
 public static SCode Make(PrimitiveCombination2A0L predicate, SCode consequent, LexicalVariable alternative)
 {
     return
         (alternative is Argument) ? PCond2A0LSA.Make (predicate, consequent, (Argument) alternative) :
         (alternative is LexicalVariable1) ? PCond2A0LSL1.Make (predicate, consequent, (LexicalVariable1) alternative) :
         new PCond2A0LSL (predicate, consequent, alternative);
 }
Пример #20
0
 PCond2A0LLQ(PrimitiveCombination2A0L predicate, LexicalVariable consequent, Quotation alternative)
     : base(predicate, consequent, alternative)
 {
     this.alternativeValue = alternative.Quoted;
 }
Пример #21
0
 public static SCode Make(PrimitiveCombination2A0L predicate, SCode consequent, LexicalVariable1 alternative)
 {
     return new PCond2A0LSL1 (predicate, consequent, alternative);
 }
Пример #22
0
 protected PCond2A0LQ(PrimitiveCombination2A0L predicate, Quotation consequent, SCode alternative)
     : base(predicate, consequent, alternative)
 {
     this.consequentValue = consequent.Quoted;
 }
Пример #23
0
 public static SCode Make(PrimitiveCombination2A0L predicate, SCode consequent, Quotation alternative)
 {
     return
         new PCond2A0LSQ (predicate, consequent, alternative);
 }
Пример #24
0
 public static SCode Make(PrimitiveCombination2A0L predicate, Quotation consequent, SCode alternative)
 {
     return
         (alternative is LexicalVariable) ? PCond2A0LQL.Make (predicate, consequent, (LexicalVariable) alternative) :
         (alternative is Quotation) ? PCond2A0LQQ.Make (predicate, consequent, (Quotation) alternative) :
         new PCond2A0LQ (predicate, consequent, alternative);
 }
Пример #25
0
 public static SCode Make(PrimitiveCombination2A0L predicate, SCode consequent, SCode alternative)
 {
     return
         (predicate is PrimitiveCombination2A0A) ? PCond2A0A.Make ((PrimitiveCombination2A0A) predicate, consequent, alternative) :
         (predicate is PrimitiveCombination2A0L1) ? PCond2A0L1.Make ((PrimitiveCombination2A0L1) predicate, consequent, alternative) :
         (consequent is LexicalVariable) ? PCond2A0LL.Make (predicate, (LexicalVariable) consequent, alternative) :
         (consequent is Quotation) ? PCond2A0LQ.Make (predicate, (Quotation) consequent, alternative) :
         (alternative is LexicalVariable) ? PCond2A0LSL.Make (predicate, consequent, (LexicalVariable) alternative) :
         (alternative is Quotation) ? PCond2A0LSQ.Make (predicate, consequent, (Quotation) alternative) :
         new PCond2A0L (predicate, consequent, alternative);
 }
Пример #26
0
 public static SCode Make(PrimitiveCombination2A0L predicate, Argument consequent, SCode alternative)
 {
     return
         (consequent is Argument0) ? PCond2A0LA0.Make (predicate, (Argument0) consequent, alternative) :
         (consequent is Argument1) ? PCond2A0LA1.Make (predicate, (Argument1) consequent, alternative) :
         (alternative is LexicalVariable) ? PCond2A0LAL.Make (predicate, consequent, (LexicalVariable) alternative) :
         (alternative is Quotation) ? PCond2A0LAQ.Make (predicate, consequent, (Quotation) alternative) :
         new PCond2A0LA (predicate, consequent, alternative);
 }