Example #1
0
 // (q l a0 s)
 protected PCond2QLA0(PrimitiveCombination2QL predicate, Argument0 consequent, SCode alternative)
     : base(predicate, consequent, alternative)
 {
 }
Example #2
0
 public static SCode Make(PrimitiveCombination2QL predicate, Quotation consequent, SCode alternative)
 {
     return
         (alternative is LexicalVariable) ? PCond2QLQL.Make (predicate, consequent, (LexicalVariable) alternative) :
         (alternative is Quotation) ? PCond2QLQQ.Make (predicate, consequent, (Quotation) alternative) :
         new PCond2QLQ (predicate, consequent, alternative);
 }
Example #3
0
 PCond2QLSQ(PrimitiveCombination2QL predicate, SCode consequent, Quotation alternative)
     : base(predicate, consequent, alternative)
 {
     this.alternativeValue = alternative.Quoted;
 }
Example #4
0
 protected PCond2QL(PrimitiveCombination2QL predicate, SCode consequent, SCode alternative)
     : base(predicate, consequent, alternative)
 {
     this.rand1Name = predicate.rand1Name;
     this.rand1Depth = predicate.rand1Depth;
     this.rand1Offset = predicate.rand1Offset;
 }
Example #5
0
 protected PCond2QLSL(PrimitiveCombination2QL predicate, SCode consequent, LexicalVariable alternative)
     : base(predicate, consequent, alternative)
 {
     this.alternativeName = alternative.Name;
     this.alternativeDepth = alternative.Depth;
     this.alternativeOffset = alternative.Offset;
 }
Example #6
0
 PCond2QLSL1(PrimitiveCombination2QL predicate, SCode consequent, LexicalVariable1 alternative)
     : base(predicate, consequent, alternative)
 {
 }
Example #7
0
 public static SCode Make(PrimitiveCombination2QL predicate, LexicalVariable consequent, SCode alternative)
 {
     return
         (consequent is Argument) ? PCond2QLA.Make (predicate, (Argument) consequent, alternative) :
         (consequent is LexicalVariable1) ? PCond2QLL1.Make (predicate, (LexicalVariable1) consequent, alternative) :
         (alternative is LexicalVariable) ? PCond2QLLL.Make (predicate, consequent, (LexicalVariable) alternative) :
         (alternative is Quotation) ? PCond2QLLQ.Make (predicate, consequent, (Quotation) alternative) :
         new PCond2QLL (predicate, consequent, alternative);
 }
Example #8
0
 public static SCode Make(PrimitiveCombination2QL predicate, SCode consequent, Argument alternative)
 {
     return
         (alternative is Argument0) ? PCond2QLSA0.Make (predicate, consequent, (Argument0) alternative) :
         (alternative is Argument1) ? PCond2QLSA1.Make (predicate, consequent, (Argument1) alternative) :
         new PCond2QLSA (predicate, consequent, alternative);
 }
Example #9
0
 // (q l a a0)
 PCond2QLAA0(PrimitiveCombination2QL predicate, Argument consequent, Argument0 alternative)
     : base(predicate, consequent, alternative)
 {
 }
Example #10
0
 protected PCond2QLL(PrimitiveCombination2QL predicate, LexicalVariable consequent, SCode alternative)
     : base(predicate, consequent, alternative)
 {
     this.consequentName = consequent.Name;
     this.consequentDepth = consequent.Depth;
     this.consequentOffset = consequent.Offset;
 }
Example #11
0
 public static SCode Make(PrimitiveCombination2QL predicate, Argument1 consequent, Argument0 alternative)
 {
     return
         new PCond2QLA1A0 (predicate, consequent, alternative);
 }
Example #12
0
 // (q l a1 l1)
 protected PCond2QLA1A(PrimitiveCombination2QL predicate, Argument1 consequent, Argument alternative)
     : base(predicate, consequent, alternative)
 {
 }
Example #13
0
 // (q l a0 l1)
 PCond2QLA0L1(PrimitiveCombination2QL predicate, Argument0 consequent, LexicalVariable1 alternative)
     : base(predicate, consequent, alternative)
 {
 }
Example #14
0
 // (q l q a1)
 PCond2QLQA1(PrimitiveCombination2QL predicate, Quotation consequent, Argument1 alternative)
     : base(predicate, consequent, alternative)
 {
 }
Example #15
0
 // (q l l1 l1)
 protected PCond2QLL1A(PrimitiveCombination2QL predicate, LexicalVariable1 consequent, Argument alternative)
     : base(predicate, consequent, alternative)
 {
 }
Example #16
0
 public static SCode Make(PrimitiveCombination2QL predicate, Quotation consequent, Argument1 alternative)
 {
     return
         new PCond2QLQA1 (predicate, consequent, alternative);
 }
Example #17
0
 public static SCode Make(PrimitiveCombination2QL predicate, LexicalVariable1 consequent, Quotation alternative)
 {
     return
         new PCond2QLL1Q (predicate, consequent, alternative);
 }
Example #18
0
 PCond2QLSA1(PrimitiveCombination2QL predicate, SCode consequent, Argument1 alternative)
     : base(predicate, consequent, alternative)
 {
 }
Example #19
0
 public static SCode Make(PrimitiveCombination2QL predicate, LexicalVariable consequent, Argument0 alternative)
 {
     return
         new PCond2QLLA0 (predicate, consequent, alternative);
 }
Example #20
0
 public static SCode Make(PrimitiveCombination2QL predicate, SCode consequent, LexicalVariable alternative)
 {
     return
         (alternative is Argument) ? PCond2QLSA.Make (predicate, consequent, (Argument) alternative) :
         (alternative is LexicalVariable1) ? PCond2QLSL1.Make (predicate, consequent, (LexicalVariable1) alternative) :
         new PCond2QLSL (predicate, consequent, alternative);
 }
Example #21
0
 // (q l l a1)
 PCond2QLLA1(PrimitiveCombination2QL predicate, LexicalVariable consequent, Argument1 alternative)
     : base(predicate, consequent, alternative)
 {
 }
Example #22
0
 public static SCode Make(PrimitiveCombination2QL predicate, SCode consequent, LexicalVariable1 alternative)
 {
     return new PCond2QLSL1 (predicate, consequent, alternative);
 }
Example #23
0
 PCond2QLLQ(PrimitiveCombination2QL predicate, LexicalVariable consequent, Quotation alternative)
     : base(predicate, consequent, alternative)
 {
     this.alternativeValue = alternative.Quoted;
 }
Example #24
0
 public static SCode Make(PrimitiveCombination2QL predicate, SCode consequent, Quotation alternative)
 {
     return
         new PCond2QLSQ (predicate, consequent, alternative);
 }
Example #25
0
 protected PCond2QLQ(PrimitiveCombination2QL predicate, Quotation consequent, SCode alternative)
     : base(predicate, consequent, alternative)
 {
     this.consequentValue = consequent.Quoted;
 }
Example #26
0
 public static SCode Make(PrimitiveCombination2QL predicate, SCode consequent, SCode alternative)
 {
     return
         (predicate is PrimitiveCombination2QA) ? PCond2QA.Make ((PrimitiveCombination2QA) predicate, consequent, alternative) :
         (predicate is PrimitiveCombination2QL1) ? PCond2QL1.Make ((PrimitiveCombination2QL1) predicate, consequent, alternative) :
         (consequent is LexicalVariable) ? PCond2QLL.Make (predicate, (LexicalVariable) consequent, alternative) :
         (consequent is Quotation) ? PCond2QLQ.Make (predicate, (Quotation) consequent, alternative) :
         (alternative is LexicalVariable) ? PCond2QLSL.Make (predicate, consequent, (LexicalVariable) alternative) :
         (alternative is Quotation) ? PCond2QLSQ.Make (predicate, consequent, (Quotation) alternative) :
         new PCond2QL (predicate, consequent, alternative);
 }
Example #27
0
 public static SCode Make(PrimitiveCombination2QL predicate, Argument consequent, SCode alternative)
 {
     return
         (consequent is Argument0) ? PCond2QLA0.Make (predicate, (Argument0) consequent, alternative) :
         (consequent is Argument1) ? PCond2QLA1.Make (predicate, (Argument1) consequent, alternative) :
         (alternative is LexicalVariable) ? PCond2QLAL.Make (predicate, consequent, (LexicalVariable) alternative) :
         (alternative is Quotation) ? PCond2QLAQ.Make (predicate, consequent, (Quotation) alternative) :
         new PCond2QLA (predicate, consequent, alternative);
 }