示例#1
0
 public static SCode Make(PrimitiveCombination2A1A0 predicate, Argument1 consequent, SCode alternative)
 {
     return
         (alternative is LexicalVariable) ? PCond2A1A0A1L.Make (predicate, consequent, (LexicalVariable) alternative) :
         (alternative is Quotation) ? PCond2A1A0A1Q.Make (predicate, consequent, (Quotation) alternative) :
         new PCond2A1A0A1 (predicate, consequent, alternative);
 }
示例#2
0
 PCond2A1A0SL1(PrimitiveCombination2A1A0 predicate, SCode consequent, LexicalVariable1 alternative)
     : base(predicate, consequent, alternative)
 {
 }
示例#3
0
 // (s a0 a0 l1)
 protected PCond2A1A0A0A(PrimitiveCombination2A1A0 predicate, Argument0 consequent, Argument alternative)
     : base(predicate, consequent, alternative)
 {
 }
示例#4
0
 PCond2A1A0A1Q(PrimitiveCombination2A1A0 predicate, Argument1 consequent, Quotation alternative)
     : base(predicate, consequent, alternative)
 {
     this.alternativeValue = alternative.Quoted;
 }
示例#5
0
 public static SCode Make(PrimitiveCombination2A1A0 predicate, LexicalVariable consequent, SCode alternative)
 {
     return
         (consequent is Argument) ? PCond2A1A0A.Make (predicate, (Argument) consequent, alternative) :
         (consequent is LexicalVariable1) ? PCond2A1A0L1.Make (predicate, (LexicalVariable1) consequent, alternative) :
         (alternative is LexicalVariable) ? PCond2A1A0LL.Make (predicate, consequent, (LexicalVariable) alternative) :
         (alternative is Quotation) ? PCond2A1A0LQ.Make (predicate, consequent, (Quotation) alternative) :
         new PCond2A1A0L (predicate, consequent, alternative);
 }
示例#6
0
 protected PCond2A1A0A1L(PrimitiveCombination2A1A0 predicate, Argument1 consequent, LexicalVariable alternative)
     : base(predicate, consequent, alternative)
 {
     this.alternativeName = alternative.Name;
     this.alternativeDepth = alternative.Depth;
     this.alternativeOffset = alternative.Offset;
 }
示例#7
0
 // (s a0 a1 l1)
 PCond2A1A0A1L1(PrimitiveCombination2A1A0 predicate, Argument1 consequent, LexicalVariable1 alternative)
     : base(predicate, consequent, alternative)
 {
 }
示例#8
0
 public static SCode Make(PrimitiveCombination2A1A0 predicate, LexicalVariable consequent, Quotation alternative)
 {
     return
         new PCond2A1A0LQ (predicate, consequent, alternative);
 }
示例#9
0
 protected PCond2A1A0Q(PrimitiveCombination2A1A0 predicate, Quotation consequent, SCode alternative)
     : base(predicate, consequent, alternative)
 {
     this.consequentValue = consequent.Quoted;
 }
示例#10
0
 // (s a0 l a0)
 PCond2A1A0LA0(PrimitiveCombination2A1A0 predicate, LexicalVariable consequent, Argument0 alternative)
     : base(predicate, consequent, alternative)
 {
 }
示例#11
0
 PCond2A1A0LQ(PrimitiveCombination2A1A0 predicate, LexicalVariable consequent, Quotation alternative)
     : base(predicate, consequent, alternative)
 {
     this.alternativeValue = alternative.Quoted;
 }
示例#12
0
 public static SCode Make(PrimitiveCombination2A1A0 predicate, SCode consequent, SCode alternative)
 {
     return
         (consequent is LexicalVariable) ? PCond2A1A0L.Make (predicate, (LexicalVariable) consequent, alternative) :
         (consequent is Quotation) ? PCond2A1A0Q.Make (predicate, (Quotation) consequent, alternative) :
         (alternative is LexicalVariable) ? PCond2A1A0SL.Make (predicate, consequent, (LexicalVariable) alternative) :
         (alternative is Quotation) ? PCond2A1A0SQ.Make (predicate, consequent, (Quotation) alternative) :
         new PCond2A1A0 (predicate, consequent, alternative);
 }
示例#13
0
 // (s a0 s s)
 protected PCond2A1A0(PrimitiveCombination2A1A0 predicate, SCode consequent, SCode alternative)
     : base(predicate, consequent, alternative)
 {
 }
示例#14
0
 // (s a0 l1 l1)
 protected PCond2A1A0L1A(PrimitiveCombination2A1A0 predicate, LexicalVariable1 consequent, Argument alternative)
     : base(predicate, consequent, alternative)
 {
 }
示例#15
0
 public static SCode Make(PrimitiveCombination2A1A0 predicate, Argument1 consequent, Argument alternative)
 {
     return
         (alternative is Argument0) ? PCond2A1A0A1A0.Make (predicate, consequent, (Argument0) alternative) :
         (alternative is Argument1) ? PCond2A1A0A1A1.Make (predicate, consequent, (Argument1) alternative) :
         new PCond2A1A0A1A (predicate, consequent, alternative);
 }
示例#16
0
 public static SCode Make(PrimitiveCombination2A1A0 predicate, Argument consequent, SCode alternative)
 {
     return
         (consequent is Argument0) ? PCond2A1A0A0.Make (predicate, (Argument0) consequent, alternative) :
         (consequent is Argument1) ? PCond2A1A0A1.Make (predicate, (Argument1) consequent, alternative) :
         (alternative is LexicalVariable) ? PCond2A1A0AL.Make (predicate, consequent, (LexicalVariable) alternative) :
         (alternative is Quotation) ? PCond2A1A0AQ.Make (predicate, consequent, (Quotation) alternative) :
         new PCond2A1A0A (predicate, consequent, alternative);
 }
示例#17
0
 // (s a0 a1 a1)
 PCond2A1A0A1A1(PrimitiveCombination2A1A0 predicate, Argument1 consequent, Argument1 alternative)
     : base(predicate, consequent, alternative)
 {
 }
示例#18
0
 // (s a0 q a0)
 PCond2A1A0QA0(PrimitiveCombination2A1A0 predicate, Quotation consequent, Argument0 alternative)
     : base(predicate, consequent, alternative)
 {
 }
示例#19
0
 public static SCode Make(PrimitiveCombination2A1A0 predicate, Argument1 consequent, LexicalVariable alternative)
 {
     return
         (alternative is Argument) ? PCond2A1A0A1A.Make (predicate, consequent, (Argument) alternative) :
         (alternative is LexicalVariable1) ? PCond2A1A0A1L1.Make (predicate, consequent, (LexicalVariable1) alternative) :
         new PCond2A1A0A1L (predicate, consequent, alternative);
 }
示例#20
0
 PCond2A1A0SA0(PrimitiveCombination2A1A0 predicate, SCode consequent, Argument0 alternative)
     : base(predicate, consequent, alternative)
 {
 }
示例#21
0
 public static SCode Make(PrimitiveCombination2A1A0 predicate, Argument1 consequent, LexicalVariable1 alternative)
 {
     return
         new PCond2A1A0A1L1 (predicate, consequent, alternative);
 }
示例#22
0
 public static SCode Make(PrimitiveCombination2A1A0 predicate, SCode consequent, Argument1 alternative)
 {
     return new PCond2A1A0SA1 (predicate, consequent, alternative);
 }
示例#23
0
 public static SCode Make(PrimitiveCombination2A1A0 predicate, Argument1 consequent, Quotation alternative)
 {
     return
         new PCond2A1A0A1Q (predicate, consequent, alternative);
 }
示例#24
0
 protected PCond2A1A0L(PrimitiveCombination2A1A0 predicate, LexicalVariable consequent, SCode alternative)
     : base(predicate, consequent, alternative)
 {
     this.consequentName = consequent.Name;
     this.consequentDepth = consequent.Depth;
     this.consequentOffset = consequent.Offset;
 }