Generate source code from an [`Expr`].
(mut self, expr: &Expr)
| 144 | |
| 145 | /// Generate source code from an [`Expr`]. |
| 146 | pub fn expr(mut self, expr: &Expr) -> String { |
| 147 | self.unparse_expr(expr, 0); |
| 148 | self.generate() |
| 149 | } |
| 150 | |
| 151 | fn newline(&mut self) { |
| 152 | if !self.initial { |
nothing calls this directly
no test coverage detected