示例#1
0
 protected Let2(Lambda rator, SCode rand0, SCode rand1)
     : base(rator, rand0, rand1)
 {
     this.body = rator.Body;
     #if DEBUG
     if (rator.Body != null)
         this.bodyType = rator.Body.GetType ();
     #endif
 }
示例#2
0
 public static SCode Make(Lambda rator, SCode arg0, SCode arg1)
 {
     return StandardMake (rator, arg0, arg1);
 }
示例#3
0
 static SCode StandardMake(Lambda rator, SCode arg0, SCode arg1)
 {
     return
         (rator is SimpleLambda) ? SimpleLet2.Make ((SimpleLambda) rator, arg0, arg1) :
         (rator is StaticLambda) ? StaticLet2.Make ((StaticLambda) rator, arg0, arg1) :
         new Let2 (rator, arg0, arg1);
 }