internal override Node Bind(Binder b)
 {
     b.OpenScope();
     b.Bind(ref Cond);
     Cond.RequireGetAccess();
     b.Convert(ref Cond, Compilation.Get(NativeType.Boolean));
     b.Bind(ref Stmt);
     b.CloseScope();
     return(null);
 }
示例#2
0
 internal override Node Bind(Binder b)
 {
     b.Bind(ref Cond);
     b.Bind(ref True);
     b.Bind(ref False);
     Cond.RequireGetAccess();
     True.RequireGetAccess();
     False.RequireGetAccess();
     b.Convert(ref Cond, Compilation.Get(NativeType.Boolean));
     Datatype = b.ConvertResult(ref True, ref False);
     return(null);
 }