예제 #1
0
 public TranspilerFactory Delete(string str, int num)
 {
     for (int i = 0; i < num; i++)
     {
         transpilers.Add(new SearchDeleteTranspiler(CodeParser.ParseMutiple(str)));
     }
     return(this);
 }
예제 #2
0
 public TranspilerFactory Replace(string from, string to, int num)
 {
     for (int i = 0; i < num; i++)
     {
         transpilers.Add(new SearchDeleteTranspiler(CodeParser.ParseMutiple(from)));
         transpilers.Add(new InsertTranspiler(CodeParser.ParseMutiple(to)));
     }
     return(this);
 }
예제 #3
0
 public TranspilerFactory Delete(string str)
 {
     transpilers.Add(new SearchDeleteTranspiler(CodeParser.ParseMutiple(str)));
     return(this);
 }
예제 #4
0
 public TranspilerFactory Insert(string str)
 {
     transpilers.Add(new InsertTranspiler(CodeParser.ParseMutiple(str)));
     return(this);
 }
예제 #5
0
 public TranspilerFactory Replace(string from, string to)
 {
     transpilers.Add(new SearchDeleteTranspiler(CodeParser.ParseMutiple(from)));
     transpilers.Add(new InsertTranspiler(CodeParser.ParseMutiple(to)));
     return(this);
 }