コード例 #1
0
ファイル: PCond2b.cs プロジェクト: NotJRM/jrm-code-project
 protected PCond2QL1L(PrimitiveCombination2QL1 predicate, LexicalVariable consequent, SCode alternative)
     : base(predicate, consequent, alternative)
 {
     this.consequentName = consequent.Name;
     this.consequentDepth = consequent.Depth;
     this.consequentOffset = consequent.Offset;
 }
コード例 #2
0
ファイル: PCond2b.cs プロジェクト: NotJRM/jrm-code-project
 public static SCode Make(PrimitiveCombination2QL1 predicate, LexicalVariable consequent, SCode alternative)
 {
     return
         (consequent is Argument) ? PCond2QL1A.Make (predicate, (Argument) consequent, alternative) :
         (consequent is LexicalVariable1) ? PCond2QL1L1.Make (predicate, (LexicalVariable1) consequent, alternative) :
         (alternative is LexicalVariable) ? PCond2QL1LL.Make (predicate, consequent, (LexicalVariable) alternative) :
         (alternative is Quotation) ? PCond2QL1LQ.Make (predicate, consequent, (Quotation) alternative) :
         new PCond2QL1L (predicate, consequent, alternative);
 }
コード例 #3
0
ファイル: PCond2b.cs プロジェクト: NotJRM/jrm-code-project
 PCond2QL1AQ(PrimitiveCombination2QL1 predicate, Argument consequent, Quotation alternative)
     : base(predicate, consequent, alternative)
 {
     this.alternativeValue = alternative.Quoted;
 }
コード例 #4
0
ファイル: PCond2b.cs プロジェクト: NotJRM/jrm-code-project
 public static SCode Make(PrimitiveCombination2QL1 predicate, Argument consequent, Quotation alternative)
 {
     return
         new PCond2QL1AQ (predicate, consequent, alternative);
 }
コード例 #5
0
ファイル: PCond2b.cs プロジェクト: NotJRM/jrm-code-project
 // (q l1 l1 l1)
 PCond2QL1L1L1(PrimitiveCombination2QL1 predicate, LexicalVariable1 consequent, LexicalVariable1 alternative)
     : base(predicate, consequent, alternative)
 {
 }
コード例 #6
0
ファイル: PCond2b.cs プロジェクト: NotJRM/jrm-code-project
 PCond2QL1LQ(PrimitiveCombination2QL1 predicate, LexicalVariable consequent, Quotation alternative)
     : base(predicate, consequent, alternative)
 {
     this.alternativeValue = alternative.Quoted;
 }
コード例 #7
0
ファイル: PCond2b.cs プロジェクト: NotJRM/jrm-code-project
 // (q l1 a0 s)
 protected PCond2QL1A0(PrimitiveCombination2QL1 predicate, Argument0 consequent, SCode alternative)
     : base(predicate, consequent, alternative)
 {
 }
コード例 #8
0
ファイル: PCond2b.cs プロジェクト: NotJRM/jrm-code-project
 protected PCond2QL1L1L(PrimitiveCombination2QL1 predicate, LexicalVariable1 consequent, LexicalVariable alternative)
     : base(predicate, consequent, alternative)
 {
     this.alternativeName = alternative.Name;
     this.alternativeDepth = alternative.Depth;
     this.alternativeOffset = alternative.Offset;
 }
コード例 #9
0
ファイル: PCond2b.cs プロジェクト: NotJRM/jrm-code-project
 public static SCode Make(PrimitiveCombination2QL1 predicate, SCode consequent, Argument1 alternative)
 {
     return new PCond2QL1SA1 (predicate, consequent, alternative);
 }
コード例 #10
0
ファイル: PCond2b.cs プロジェクト: NotJRM/jrm-code-project
 public static SCode Make(PrimitiveCombination2QL1 predicate, Argument consequent, SCode alternative)
 {
     return
         (consequent is Argument0) ? PCond2QL1A0.Make (predicate, (Argument0) consequent, alternative) :
         (consequent is Argument1) ? PCond2QL1A1.Make (predicate, (Argument1) consequent, alternative) :
         (alternative is LexicalVariable) ? PCond2QL1AL.Make (predicate, consequent, (LexicalVariable) alternative) :
         (alternative is Quotation) ? PCond2QL1AQ.Make (predicate, consequent, (Quotation) alternative) :
         new PCond2QL1A (predicate, consequent, alternative);
 }
コード例 #11
0
ファイル: PCond2b.cs プロジェクト: NotJRM/jrm-code-project
 PCond2QL1SA0(PrimitiveCombination2QL1 predicate, SCode consequent, Argument0 alternative)
     : base(predicate, consequent, alternative)
 {
 }
コード例 #12
0
ファイル: PCond2b.cs プロジェクト: NotJRM/jrm-code-project
 // (q l1 q a0)
 PCond2QL1QA0(PrimitiveCombination2QL1 predicate, Quotation consequent, Argument0 alternative)
     : base(predicate, consequent, alternative)
 {
 }
コード例 #13
0
ファイル: PCond2b.cs プロジェクト: NotJRM/jrm-code-project
 protected PCond2QL1Q(PrimitiveCombination2QL1 predicate, Quotation consequent, SCode alternative)
     : base(predicate, consequent, alternative)
 {
     this.consequentValue = consequent.Quoted;
 }
コード例 #14
0
ファイル: PCond2b.cs プロジェクト: NotJRM/jrm-code-project
 public static SCode Make(PrimitiveCombination2QL1 predicate, LexicalVariable1 consequent, SCode alternative)
 {
     return
         (alternative is LexicalVariable) ? PCond2QL1L1L.Make (predicate, consequent, (LexicalVariable) alternative) :
         (alternative is Quotation) ? PCond2QL1L1Q.Make (predicate, consequent, (Quotation) alternative) :
         new PCond2QL1L1 (predicate, consequent, alternative);
 }
コード例 #15
0
ファイル: PCond2b.cs プロジェクト: NotJRM/jrm-code-project
 // (q l1 a1 l1)
 protected PCond2QL1A1A(PrimitiveCombination2QL1 predicate, Argument1 consequent, Argument alternative)
     : base(predicate, consequent, alternative)
 {
 }
コード例 #16
0
ファイル: PCond2b.cs プロジェクト: NotJRM/jrm-code-project
 // (q l1 l1 l1)
 protected PCond2QL1L1A(PrimitiveCombination2QL1 predicate, LexicalVariable1 consequent, Argument alternative)
     : base(predicate, consequent, alternative)
 {
 }
コード例 #17
0
ファイル: PCond2b.cs プロジェクト: NotJRM/jrm-code-project
 public static SCode Make(PrimitiveCombination2QL1 predicate, Argument consequent, Argument alternative)
 {
     return
         (alternative is Argument0) ? PCond2QL1AA0.Make (predicate, consequent, (Argument0) alternative) :
         (alternative is Argument1) ? PCond2QL1AA1.Make (predicate, consequent, (Argument1) alternative) :
         new PCond2QL1AA (predicate, consequent, alternative);
 }
コード例 #18
0
ファイル: PCond2b.cs プロジェクト: NotJRM/jrm-code-project
 public static SCode Make(PrimitiveCombination2QL1 predicate, LexicalVariable1 consequent, LexicalVariable alternative)
 {
     return
         (alternative is Argument) ? PCond2QL1L1A.Make (predicate, consequent, (Argument) alternative) :
         (alternative is LexicalVariable1) ? PCond2QL1L1L1.Make (predicate, consequent, (LexicalVariable1) alternative) :
         new PCond2QL1L1L (predicate, consequent, alternative);
 }
コード例 #19
0
ファイル: PCond2b.cs プロジェクト: NotJRM/jrm-code-project
 // (q l1 a a1)
 PCond2QL1AA1(PrimitiveCombination2QL1 predicate, Argument consequent, Argument1 alternative)
     : base(predicate, consequent, alternative)
 {
 }
コード例 #20
0
ファイル: PCond2b.cs プロジェクト: NotJRM/jrm-code-project
 public static SCode Make(PrimitiveCombination2QL1 predicate, LexicalVariable1 consequent, LexicalVariable1 alternative)
 {
     return
         new PCond2QL1L1L1 (predicate, consequent, alternative);
 }
コード例 #21
0
ファイル: PCond2b.cs プロジェクト: NotJRM/jrm-code-project
 // (q l1 l a0)
 PCond2QL1LA0(PrimitiveCombination2QL1 predicate, LexicalVariable consequent, Argument0 alternative)
     : base(predicate, consequent, alternative)
 {
 }