示例#1
0
 //with文
 public override bool Visit(UnifiedWith element, VisitorArgument arg)
 {
     Writer.Write("with (");
     element.Value.TryAccept(this, arg);
     Writer.Write(")");
     element.Body.TryAccept(this, arg.Set(ForBlock));
     return(false);
 }
 //with文
 public override bool Visit(UnifiedWith element, VisitorArgument arg)
 {
     Writer.Write("with (");
     element.Value.TryAccept(this, arg);
     Writer.Write(")");
     element.Body.TryAccept(this, arg.Set(ForBlock));
     return false;
 }