예제 #1
0
 PCond2A1ASA1(PrimitiveCombination2A1A predicate, SCode consequent, Argument1 alternative)
     : base(predicate, consequent, alternative)
 {
 }
예제 #2
0
 public static SCode Make(PrimitiveCombination2A1A predicate, Quotation consequent, Argument1 alternative)
 {
     return
         new PCond2A1AQA1 (predicate, consequent, alternative);
 }
예제 #3
0
 public static SCode Make(PrimitiveCombination2A1A predicate, SCode consequent, Argument alternative)
 {
     return
         (alternative is Argument0) ? PCond2A1ASA0.Make (predicate, consequent, (Argument0) alternative) :
         (alternative is Argument1) ? PCond2A1ASA1.Make (predicate, consequent, (Argument1) alternative) :
         new PCond2A1ASA (predicate, consequent, alternative);
 }
예제 #4
0
 // (s a s s)
 protected PCond2A1A(PrimitiveCombination2A1A predicate, SCode consequent, SCode alternative)
     : base(predicate, consequent, alternative)
 {
 }
예제 #5
0
 // (s a a1 l1)
 protected PCond2A1AA1A(PrimitiveCombination2A1A predicate, Argument1 consequent, Argument alternative)
     : base(predicate, consequent, alternative)
 {
 }
예제 #6
0
 PCond2A1ASL1(PrimitiveCombination2A1A predicate, SCode consequent, LexicalVariable1 alternative)
     : base(predicate, consequent, alternative)
 {
 }
예제 #7
0
 PCond2A1ASQ(PrimitiveCombination2A1A predicate, SCode consequent, Quotation alternative)
     : base(predicate, consequent, alternative)
 {
     this.alternativeValue = alternative.Quoted;
 }
예제 #8
0
 public static SCode Make(PrimitiveCombination2A1A predicate, LexicalVariable consequent, Argument0 alternative)
 {
     return
         new PCond2A1ALA0 (predicate, consequent, alternative);
 }
예제 #9
0
 // (s a l a1)
 PCond2A1ALA1(PrimitiveCombination2A1A predicate, LexicalVariable consequent, Argument1 alternative)
     : base(predicate, consequent, alternative)
 {
 }
예제 #10
0
 // (s a l1 l1)
 protected PCond2A1AL1A(PrimitiveCombination2A1A predicate, LexicalVariable1 consequent, Argument alternative)
     : base(predicate, consequent, alternative)
 {
 }
예제 #11
0
 public static SCode Make(PrimitiveCombination2A1A predicate, LexicalVariable1 consequent, Quotation alternative)
 {
     return
         new PCond2A1AL1Q (predicate, consequent, alternative);
 }
예제 #12
0
 public static SCode Make(PrimitiveCombination2A1A predicate, LexicalVariable consequent, SCode alternative)
 {
     return
         (consequent is Argument) ? PCond2A1AA.Make (predicate, (Argument) consequent, alternative) :
         (consequent is LexicalVariable1) ? PCond2A1AL1.Make (predicate, (LexicalVariable1) consequent, alternative) :
         (alternative is LexicalVariable) ? PCond2A1ALL.Make (predicate, consequent, (LexicalVariable) alternative) :
         (alternative is Quotation) ? PCond2A1ALQ.Make (predicate, consequent, (Quotation) alternative) :
         new PCond2A1AL (predicate, consequent, alternative);
 }
예제 #13
0
 protected PCond2A1AL(PrimitiveCombination2A1A predicate, LexicalVariable consequent, SCode alternative)
     : base(predicate, consequent, alternative)
 {
     this.consequentName = consequent.Name;
     this.consequentDepth = consequent.Depth;
     this.consequentOffset = consequent.Offset;
 }
예제 #14
0
 // (s a a a0)
 PCond2A1AAA0(PrimitiveCombination2A1A predicate, Argument consequent, Argument0 alternative)
     : base(predicate, consequent, alternative)
 {
 }
예제 #15
0
 protected PCond2A1ASL(PrimitiveCombination2A1A predicate, SCode consequent, LexicalVariable alternative)
     : base(predicate, consequent, alternative)
 {
     this.alternativeName = alternative.Name;
     this.alternativeDepth = alternative.Depth;
     this.alternativeOffset = alternative.Offset;
 }
예제 #16
0
 PCond2A1ALQ(PrimitiveCombination2A1A predicate, LexicalVariable consequent, Quotation alternative)
     : base(predicate, consequent, alternative)
 {
     this.alternativeValue = alternative.Quoted;
 }
예제 #17
0
 public static SCode Make(PrimitiveCombination2A1A predicate, SCode consequent, LexicalVariable alternative)
 {
     return
         (alternative is Argument) ? PCond2A1ASA.Make (predicate, consequent, (Argument) alternative) :
         (alternative is LexicalVariable1) ? PCond2A1ASL1.Make (predicate, consequent, (LexicalVariable1) alternative) :
         new PCond2A1ASL (predicate, consequent, alternative);
 }
예제 #18
0
 protected PCond2A1AQ(PrimitiveCombination2A1A predicate, Quotation consequent, SCode alternative)
     : base(predicate, consequent, alternative)
 {
     this.consequentValue = consequent.Quoted;
 }
예제 #19
0
 public static SCode Make(PrimitiveCombination2A1A predicate, SCode consequent, LexicalVariable1 alternative)
 {
     return new PCond2A1ASL1 (predicate, consequent, alternative);
 }
예제 #20
0
 public static SCode Make(PrimitiveCombination2A1A predicate, Quotation consequent, SCode alternative)
 {
     return
         (alternative is LexicalVariable) ? PCond2A1AQL.Make (predicate, consequent, (LexicalVariable) alternative) :
         (alternative is Quotation) ? PCond2A1AQQ.Make (predicate, consequent, (Quotation) alternative) :
         new PCond2A1AQ (predicate, consequent, alternative);
 }
예제 #21
0
 public static SCode Make(PrimitiveCombination2A1A predicate, SCode consequent, Quotation alternative)
 {
     return
         new PCond2A1ASQ (predicate, consequent, alternative);
 }
예제 #22
0
 // (s a q a1)
 PCond2A1AQA1(PrimitiveCombination2A1A predicate, Quotation consequent, Argument1 alternative)
     : base(predicate, consequent, alternative)
 {
 }
예제 #23
0
 public static SCode Make(PrimitiveCombination2A1A predicate, SCode consequent, SCode alternative)
 {
     return
         (predicate is PrimitiveCombination2A1A0) ? PCond2A1A0.Make ((PrimitiveCombination2A1A0) predicate, consequent, alternative) :
         (predicate is PrimitiveCombination2A1A1) ? PCond2A1A1.Make ((PrimitiveCombination2A1A1) predicate, consequent, alternative) :
         (consequent is LexicalVariable) ? PCond2A1AL.Make (predicate, (LexicalVariable) consequent, alternative) :
         (consequent is Quotation) ? PCond2A1AQ.Make (predicate, (Quotation) consequent, alternative) :
         (alternative is LexicalVariable) ? PCond2A1ASL.Make (predicate, consequent, (LexicalVariable) alternative) :
         (alternative is Quotation) ? PCond2A1ASQ.Make (predicate, consequent, (Quotation) alternative) :
         new PCond2A1A (predicate, consequent, alternative);
 }
예제 #24
0
 public static SCode Make(PrimitiveCombination2A1A predicate, Argument consequent, SCode alternative)
 {
     return
         (consequent is Argument0) ? PCond2A1AA0.Make (predicate, (Argument0) consequent, alternative) :
         (consequent is Argument1) ? PCond2A1AA1.Make (predicate, (Argument1) consequent, alternative) :
         (alternative is LexicalVariable) ? PCond2A1AAL.Make (predicate, consequent, (LexicalVariable) alternative) :
         (alternative is Quotation) ? PCond2A1AAQ.Make (predicate, consequent, (Quotation) alternative) :
         new PCond2A1AA (predicate, consequent, alternative);
 }