public TranspilerFactory Delete(string str, int num) { for (int i = 0; i < num; i++) { transpilers.Add(new SearchDeleteTranspiler(CodeParser.ParseMutiple(str))); } return(this); }
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); }
public TranspilerFactory Delete(string str) { transpilers.Add(new SearchDeleteTranspiler(CodeParser.ParseMutiple(str))); return(this); }
public TranspilerFactory Insert(string str) { transpilers.Add(new InsertTranspiler(CodeParser.ParseMutiple(str))); return(this); }
public TranspilerFactory Replace(string from, string to) { transpilers.Add(new SearchDeleteTranspiler(CodeParser.ParseMutiple(from))); transpilers.Add(new InsertTranspiler(CodeParser.ParseMutiple(to))); return(this); }