Exemple #1
0
 public TranspilerFactory Insert(string str)
 {
     transpilers.Add(new InsertTranspiler(CodeParser.ParseMutiple(str)));
     return(this);
 }
Exemple #2
0
 public TranspilerFactory Delete(string str)
 {
     transpilers.Add(new SearchDeleteTranspiler(CodeParser.ParseMutiple(str)));
     return(this);
 }
Exemple #3
0
 public TranspilerFactory Replace(string from, string to)
 {
     transpilers.Add(new SearchDeleteTranspiler(CodeParser.ParseMutiple(from)));
     transpilers.Add(new InsertTranspiler(CodeParser.ParseMutiple(to)));
     return(this);
 }