00001 namespace JLibDiff 00002 { 00003 using System; 00004 00005 public class HunkPrintEDVisitor:HunkVisitor 00006 { 00007 00008 public HunkPrintEDVisitor() 00009 { 00010 } 00011 00012 public override void visitHunkAdd(HunkAdd hunk) 00013 { 00014 System.Console.Out.Write(hunk.convert_ED()); 00015 } 00016 00017 public override void visitHunkChange(HunkChange hunk) 00018 { 00019 System.Console.Out.Write(hunk.convert_ED()); 00020 } 00021 00022 public override void visitHunkDel(HunkDel hunk) 00023 { 00024 System.Console.Out.Write(hunk.convert_ED()); 00025 } 00026 } 00027 }