Beispiel #1
0
 public static SCode Make(PrimitiveCombination2QA0 predicate, Argument1 consequent, SCode alternative)
 {
     return
         (alternative is LexicalVariable) ? PCond2QA0A1L.Make (predicate, consequent, (LexicalVariable) alternative) :
         (alternative is Quotation) ? PCond2QA0A1Q.Make (predicate, consequent, (Quotation) alternative) :
         new PCond2QA0A1 (predicate, consequent, alternative);
 }
Beispiel #2
0
 // (s a0 a0 l1)
 protected PCond2QA0A0A(PrimitiveCombination2QA0 predicate, Argument0 consequent, Argument alternative)
     : base(predicate, consequent, alternative)
 {
 }
Beispiel #3
0
 // (s a0 a1 s)
 protected PCond2QA0A1(PrimitiveCombination2QA0 predicate, Argument1 consequent, SCode alternative)
     : base(predicate, consequent, alternative)
 {
 }
Beispiel #4
0
 PCond2QA0A1Q(PrimitiveCombination2QA0 predicate, Argument1 consequent, Quotation alternative)
     : base(predicate, consequent, alternative)
 {
     this.alternativeValue = alternative.Quoted;
 }
Beispiel #5
0
 public static SCode Make(PrimitiveCombination2QA0 predicate, LexicalVariable consequent, SCode alternative)
 {
     return
         (consequent is Argument) ? PCond2QA0A.Make (predicate, (Argument) consequent, alternative) :
         (consequent is LexicalVariable1) ? PCond2QA0L1.Make (predicate, (LexicalVariable1) consequent, alternative) :
         (alternative is LexicalVariable) ? PCond2QA0LL.Make (predicate, consequent, (LexicalVariable) alternative) :
         (alternative is Quotation) ? PCond2QA0LQ.Make (predicate, consequent, (Quotation) alternative) :
         new PCond2QA0L (predicate, consequent, alternative);
 }
Beispiel #6
0
 protected PCond2QA0A1L(PrimitiveCombination2QA0 predicate, Argument1 consequent, LexicalVariable alternative)
     : base(predicate, consequent, alternative)
 {
     this.alternativeName = alternative.Name;
     this.alternativeDepth = alternative.Depth;
     this.alternativeOffset = alternative.Offset;
 }
Beispiel #7
0
 // (s a0 a1 l1)
 PCond2QA0A1L1(PrimitiveCombination2QA0 predicate, Argument1 consequent, LexicalVariable1 alternative)
     : base(predicate, consequent, alternative)
 {
 }
Beispiel #8
0
 protected PCond2QA0Q(PrimitiveCombination2QA0 predicate, Quotation consequent, SCode alternative)
     : base(predicate, consequent, alternative)
 {
     this.consequentValue = consequent.Quoted;
 }
Beispiel #9
0
 public static SCode Make(PrimitiveCombination2QA0 predicate, Argument consequent, SCode alternative)
 {
     return
         (consequent is Argument0) ? PCond2QA0A0.Make (predicate, (Argument0) consequent, alternative) :
         (consequent is Argument1) ? PCond2QA0A1.Make (predicate, (Argument1) consequent, alternative) :
         (alternative is LexicalVariable) ? PCond2QA0AL.Make (predicate, consequent, (LexicalVariable) alternative) :
         (alternative is Quotation) ? PCond2QA0AQ.Make (predicate, consequent, (Quotation) alternative) :
         new PCond2QA0A (predicate, consequent, alternative);
 }
Beispiel #10
0
 PCond2QA0LQ(PrimitiveCombination2QA0 predicate, LexicalVariable consequent, Quotation alternative)
     : base(predicate, consequent, alternative)
 {
     this.alternativeValue = alternative.Quoted;
 }
Beispiel #11
0
 public static SCode Make(PrimitiveCombination2QA0 predicate, LexicalVariable consequent, Quotation alternative)
 {
     return
         new PCond2QA0LQ (predicate, consequent, alternative);
 }
Beispiel #12
0
 // (s a0 l a0)
 PCond2QA0LA0(PrimitiveCombination2QA0 predicate, LexicalVariable consequent, Argument0 alternative)
     : base(predicate, consequent, alternative)
 {
 }
Beispiel #13
0
 public static SCode Make(PrimitiveCombination2QA0 predicate, SCode consequent, SCode alternative)
 {
     return
         (consequent is LexicalVariable) ? PCond2QA0L.Make (predicate, (LexicalVariable) consequent, alternative) :
         (consequent is Quotation) ? PCond2QA0Q.Make (predicate, (Quotation) consequent, alternative) :
         (alternative is LexicalVariable) ? PCond2QA0SL.Make (predicate, consequent, (LexicalVariable) alternative) :
         (alternative is Quotation) ? PCond2QA0SQ.Make (predicate, consequent, (Quotation) alternative) :
         new PCond2QA0 (predicate, consequent, alternative);
 }
Beispiel #14
0
 // (s a0 l1 l1)
 protected PCond2QA0L1A(PrimitiveCombination2QA0 predicate, LexicalVariable1 consequent, Argument alternative)
     : base(predicate, consequent, alternative)
 {
 }
Beispiel #15
0
 public static SCode Make(PrimitiveCombination2QA0 predicate, Argument1 consequent, Argument alternative)
 {
     return
         (alternative is Argument0) ? PCond2QA0A1A0.Make (predicate, consequent, (Argument0) alternative) :
         (alternative is Argument1) ? PCond2QA0A1A1.Make (predicate, consequent, (Argument1) alternative) :
         new PCond2QA0A1A (predicate, consequent, alternative);
 }
Beispiel #16
0
 // (s a0 q a0)
 PCond2QA0QA0(PrimitiveCombination2QA0 predicate, Quotation consequent, Argument0 alternative)
     : base(predicate, consequent, alternative)
 {
 }
Beispiel #17
0
 // (s a0 a1 a1)
 PCond2QA0A1A1(PrimitiveCombination2QA0 predicate, Argument1 consequent, Argument1 alternative)
     : base(predicate, consequent, alternative)
 {
 }
Beispiel #18
0
 PCond2QA0SA0(PrimitiveCombination2QA0 predicate, SCode consequent, Argument0 alternative)
     : base(predicate, consequent, alternative)
 {
 }
Beispiel #19
0
 public static SCode Make(PrimitiveCombination2QA0 predicate, Argument1 consequent, LexicalVariable alternative)
 {
     return
         (alternative is Argument) ? PCond2QA0A1A.Make (predicate, consequent, (Argument) alternative) :
         (alternative is LexicalVariable1) ? PCond2QA0A1L1.Make (predicate, consequent, (LexicalVariable1) alternative) :
         new PCond2QA0A1L (predicate, consequent, alternative);
 }
Beispiel #20
0
 public static SCode Make(PrimitiveCombination2QA0 predicate, SCode consequent, Argument1 alternative)
 {
     return new PCond2QA0SA1 (predicate, consequent, alternative);
 }
Beispiel #21
0
 public static SCode Make(PrimitiveCombination2QA0 predicate, Argument1 consequent, LexicalVariable1 alternative)
 {
     return
         new PCond2QA0A1L1 (predicate, consequent, alternative);
 }
Beispiel #22
0
 PCond2QA0SL1(PrimitiveCombination2QA0 predicate, SCode consequent, LexicalVariable1 alternative)
     : base(predicate, consequent, alternative)
 {
 }
Beispiel #23
0
 public static SCode Make(PrimitiveCombination2QA0 predicate, Argument1 consequent, Quotation alternative)
 {
     return
         new PCond2QA0A1Q (predicate, consequent, alternative);
 }
Beispiel #24
0
 protected PCond2QA0L(PrimitiveCombination2QA0 predicate, LexicalVariable consequent, SCode alternative)
     : base(predicate, consequent, alternative)
 {
     this.consequentName = consequent.Name;
     this.consequentDepth = consequent.Depth;
     this.consequentOffset = consequent.Offset;
 }