Create a snapshot of the current variable bindings. Used for branches (IF/ELSE) that shouldn't leak assignments to siblings.
(&self)
| 266 | /// Create a snapshot of the current variable bindings. |
| 267 | /// Used for branches (IF/ELSE) that shouldn't leak assignments to siblings. |
| 268 | fn clone_vars(&self) -> Self { |
| 269 | Self { |
| 270 | variables: self.variables.clone(), |
| 271 | } |
| 272 | } |
| 273 | } |
| 274 | |
| 275 | /// Replace whole-word occurrences of `name` in `sql` with `replacement`. |
no test coverage detected