Example #1
0
 public static SCode Make(PrimitiveCombination2LL1 predicate, Argument consequent, SCode alternative)
 {
     return
         (consequent is Argument0) ? PCond2LL1A0.Make (predicate, (Argument0) consequent, alternative) :
         (consequent is Argument1) ? PCond2LL1A1.Make (predicate, (Argument1) consequent, alternative) :
         (alternative is LexicalVariable) ? PCond2LL1AL.Make (predicate, consequent, (LexicalVariable) alternative) :
         (alternative is Quotation) ? PCond2LL1AQ.Make (predicate, consequent, (Quotation) alternative) :
         new PCond2LL1A (predicate, consequent, alternative);
 }
Example #2
0
 // (l l1 a0 s)
 protected PCond2LL1A0(PrimitiveCombination2LL1 predicate, Argument0 consequent, SCode alternative)
     : base(predicate, consequent, alternative)
 {
 }
Example #3
0
 // (l l1 a l1)
 PCond2LL1AL1(PrimitiveCombination2LL1 predicate, Argument consequent, LexicalVariable1 alternative)
     : base(predicate, consequent, alternative)
 {
 }
Example #4
0
 public static SCode Make(PrimitiveCombination2LL1 predicate, LexicalVariable consequent, SCode alternative)
 {
     return
         (consequent is Argument) ? PCond2LL1A.Make (predicate, (Argument) consequent, alternative) :
         (consequent is LexicalVariable1) ? PCond2LL1L1.Make (predicate, (LexicalVariable1) consequent, alternative) :
         (alternative is LexicalVariable) ? PCond2LL1LL.Make (predicate, consequent, (LexicalVariable) alternative) :
         (alternative is Quotation) ? PCond2LL1LQ.Make (predicate, consequent, (Quotation) alternative) :
         new PCond2LL1L (predicate, consequent, alternative);
 }
Example #5
0
 public static SCode Make(PrimitiveCombination2LL1 predicate, Argument consequent, Argument0 alternative)
 {
     return
         new PCond2LL1AA0 (predicate, consequent, alternative);
 }
Example #6
0
 protected PCond2LL1AL(PrimitiveCombination2LL1 predicate, Argument consequent, LexicalVariable alternative)
     : base(predicate, consequent, alternative)
 {
     this.alternativeName = alternative.Name;
     this.alternativeDepth = alternative.Depth;
     this.alternativeOffset = alternative.Offset;
 }
Example #7
0
 // (l l1 q a0)
 PCond2LL1QA0(PrimitiveCombination2LL1 predicate, Quotation consequent, Argument0 alternative)
     : base(predicate, consequent, alternative)
 {
 }
Example #8
0
 PCond2LL1A1Q(PrimitiveCombination2LL1 predicate, Argument1 consequent, Quotation alternative)
     : base(predicate, consequent, alternative)
 {
     this.alternativeValue = alternative.Quoted;
 }
Example #9
0
 PCond2LL1LQ(PrimitiveCombination2LL1 predicate, LexicalVariable consequent, Quotation alternative)
     : base(predicate, consequent, alternative)
 {
     this.alternativeValue = alternative.Quoted;
 }
Example #10
0
 protected PCond2LL1Q(PrimitiveCombination2LL1 predicate, Quotation consequent, SCode alternative)
     : base(predicate, consequent, alternative)
 {
     this.consequentValue = consequent.Quoted;
 }
Example #11
0
 // (l l1 l a0)
 PCond2LL1LA0(PrimitiveCombination2LL1 predicate, LexicalVariable consequent, Argument0 alternative)
     : base(predicate, consequent, alternative)
 {
 }
Example #12
0
 public static SCode Make(PrimitiveCombination2LL1 predicate, LexicalVariable1 consequent, Quotation alternative)
 {
     return
         new PCond2LL1L1Q (predicate, consequent, alternative);
 }
Example #13
0
 // (l l1 l1 l1)
 protected PCond2LL1L1A(PrimitiveCombination2LL1 predicate, LexicalVariable1 consequent, Argument alternative)
     : base(predicate, consequent, alternative)
 {
 }
Example #14
0
 public static SCode Make(PrimitiveCombination2LL1 predicate, Argument1 consequent, SCode alternative)
 {
     return
         (alternative is LexicalVariable) ? PCond2LL1A1L.Make (predicate, consequent, (LexicalVariable) alternative) :
         (alternative is Quotation) ? PCond2LL1A1Q.Make (predicate, consequent, (Quotation) alternative) :
         new PCond2LL1A1 (predicate, consequent, alternative);
 }
Example #15
0
 public static SCode Make(PrimitiveCombination2LL1 predicate, Quotation consequent, Argument1 alternative)
 {
     return
         new PCond2LL1QA1 (predicate, consequent, alternative);
 }
Example #16
0
 // (l l1 a1 l1)
 protected PCond2LL1A1A(PrimitiveCombination2LL1 predicate, Argument1 consequent, Argument alternative)
     : base(predicate, consequent, alternative)
 {
 }
Example #17
0
 PCond2LL1SA0(PrimitiveCombination2LL1 predicate, SCode consequent, Argument0 alternative)
     : base(predicate, consequent, alternative)
 {
 }
Example #18
0
 public static SCode Make(PrimitiveCombination2LL1 predicate, Argument consequent, Argument alternative)
 {
     return
         (alternative is Argument0) ? PCond2LL1AA0.Make (predicate, consequent, (Argument0) alternative) :
         (alternative is Argument1) ? PCond2LL1AA1.Make (predicate, consequent, (Argument1) alternative) :
         new PCond2LL1AA (predicate, consequent, alternative);
 }
Example #19
0
 PCond2LL1SL1(PrimitiveCombination2LL1 predicate, SCode consequent, LexicalVariable1 alternative)
     : base(predicate, consequent, alternative)
 {
 }
Example #20
0
 // (l l1 a a1)
 PCond2LL1AA1(PrimitiveCombination2LL1 predicate, Argument consequent, Argument1 alternative)
     : base(predicate, consequent, alternative)
 {
 }
Example #21
0
 public static SCode Make(PrimitiveCombination2LL1 predicate, SCode consequent, Quotation alternative)
 {
     return
         new PCond2LL1SQ (predicate, consequent, alternative);
 }
Example #22
0
 public static SCode Make(PrimitiveCombination2LL1 predicate, Argument consequent, LexicalVariable alternative)
 {
     return
         (alternative is Argument) ? PCond2LL1AA.Make (predicate, consequent, (Argument) alternative) :
         (alternative is LexicalVariable1) ? PCond2LL1AL1.Make (predicate, consequent, (LexicalVariable1) alternative) :
         new PCond2LL1AL (predicate, consequent, alternative);
 }
Example #23
0
 public static SCode Make(PrimitiveCombination2LL1 predicate, SCode consequent, SCode alternative)
 {
     return
         (consequent is LexicalVariable) ? PCond2LL1L.Make (predicate, (LexicalVariable) consequent, alternative) :
         (consequent is Quotation) ? PCond2LL1Q.Make (predicate, (Quotation) consequent, alternative) :
         (alternative is LexicalVariable) ? PCond2LL1SL.Make (predicate, consequent, (LexicalVariable) alternative) :
         (alternative is Quotation) ? PCond2LL1SQ.Make (predicate, consequent, (Quotation) alternative) :
         new PCond2LL1 (predicate, consequent, alternative);
 }
Example #24
0
 public static SCode Make(PrimitiveCombination2LL1 predicate, Argument consequent, LexicalVariable1 alternative)
 {
     return
         new PCond2LL1AL1 (predicate, consequent, alternative);
 }
Example #25
0
 protected PCond2LL1L(PrimitiveCombination2LL1 predicate, LexicalVariable consequent, SCode alternative)
     : base(predicate, consequent, alternative)
 {
     this.consequentName = consequent.Name;
     this.consequentDepth = consequent.Depth;
     this.consequentOffset = consequent.Offset;
 }