protected PCondIsFixnumA(PrimitiveIsFixnumA predicate, SCode consequent, SCode alternative) : base(predicate, consequent, alternative) { }
public static SCode Make(PrimitiveIsFixnumA predicate, SCode consequent, SCode alternative) { return (predicate is PrimitiveIsFixnumA0) ? PCondIsFixnumA0.Make ((PrimitiveIsFixnumA0) predicate, consequent, alternative) : (predicate is PrimitiveIsFixnumA1) ? PCondIsFixnumA1.Make ((PrimitiveIsFixnumA1) predicate, consequent, alternative) : (consequent is LexicalVariable) ? PCondIsFixnumAL.Make (predicate, (LexicalVariable) consequent, alternative) : (consequent is Quotation) ? PCondIsFixnumAQ.Make (predicate, (Quotation) consequent, alternative) : (alternative is LexicalVariable) ? PCondIsFixnumASL.Make (predicate, consequent, (LexicalVariable) alternative) : (alternative is Quotation) ? PCondIsFixnumASQ.Make (predicate, consequent, (Quotation) alternative) : new PCondIsFixnumA (predicate, consequent, alternative); }
protected PCondIsFixnumASQ(PrimitiveIsFixnumA predicate, SCode consequent, Quotation alternative) : base(predicate, consequent, alternative) { this.alternativeValue = alternative.Quoted; }
internal static PCondIsFixnumA Make(PrimitiveIsFixnumA predicate, SCode consequent, Quotation alternative) { return new PCondIsFixnumASQ (predicate, consequent, alternative); }
internal static SCode Make(PrimitiveIsFixnumA predicate, Quotation consequent, Quotation alternative) { if (consequent.Quoted == alternative.Quoted) { Debug.WriteLine ("; Optimize (if <expr> <literal> <literal>) => (begin <expr> <literal>)"); return Sequence2.Make (predicate, consequent); } else if (Configuration.EnableTrueUnspecific && consequent.Quoted == Constant.Unspecific) { Debug.WriteLine ("; Optimize (if <expr> <unspecific> <literal>) => (begin <expr> <literal>)"); return Sequence2.Make (predicate, alternative); } else if (Configuration.EnableTrueUnspecific && alternative.Quoted == Constant.Unspecific) { Debug.WriteLine ("; Optimize (if <expr> <literal> <unspecific>) => (begin <expr> <literal>)"); return Sequence2.Make (predicate, consequent); } return new PCondIsFixnumAQQ (predicate, consequent, alternative); }
internal static PCondIsFixnumA Make(PrimitiveIsFixnumA predicate, SCode consequent, LexicalVariable lexicalVariable) { throw new NotImplementedException (); }
internal static SCode Make(PrimitiveIsFixnumA predicate, Quotation consequent, LexicalVariable alternative) { return new PCondIsFixnumAQL (predicate, consequent, alternative); }
protected PCondIsFixnumAQQ(PrimitiveIsFixnumA predicate, Quotation consequent, Quotation alternative) : base(predicate, consequent, alternative) { }
internal static SCode Make(PrimitiveIsFixnumA predicate, Quotation consequent, SCode alternative) { return (alternative is LexicalVariable) ? PCondIsFixnumAQL.Make (predicate, consequent, (LexicalVariable) alternative) : (alternative is Quotation) ? PCondIsFixnumAQQ.Make (predicate, consequent, (Quotation) alternative) : new PCondIsFixnumAQ (predicate, consequent, alternative); }
protected PCondIsFixnumAQL(PrimitiveIsFixnumA predicate, Quotation consequent, LexicalVariable alternative) : base(predicate, consequent, alternative) { }
protected PCondIsFixnumAQ(PrimitiveIsFixnumA predicate, Quotation consequent, SCode alternative) : base(predicate, consequent, alternative) { this.consequentValue = consequent.Quoted; }
public static SCode Make(PrimitiveIsFixnumA predicate, LexicalVariable consequent, Quotation alternative) { throw new NotImplementedException (); }
protected PCondIsFixnumAL1(PrimitiveIsFixnumA predicate, LexicalVariable1 consequent, SCode alternative) : base(predicate, consequent, alternative) { }
protected PCondIsFixnumAL(PrimitiveIsFixnumA predicate, LexicalVariable consequent, SCode alternative) : base(predicate, consequent, alternative) { this.consequentName = consequent.Name; this.consequentDepth = consequent.Depth; this.consequentOffset = consequent.Offset; }
public static SCode Make(PrimitiveIsFixnumA predicate, Argument consequent, SCode alternative) { throw new NotImplementedException (); }