(before: string, after: string)
| 75 | * @param after - The code to change to. |
| 76 | */ |
| 77 | export function replace(before: string, after: string): RawCodeFragment { |
| 78 | return { |
| 79 | before, |
| 80 | after, |
| 81 | }; |
| 82 | } |
| 83 | |
| 84 | /** |
| 85 | * Create a code fragment that represents a removal of code. |