(&mut self, value: &ast::TStringValue)
| 640 | } |
| 641 | |
| 642 | fn unparse_tstring(&mut self, value: &ast::TStringValue) -> fmt::Result { |
| 643 | self.p("t")?; |
| 644 | let body = fmt::from_fn(|f| { |
| 645 | value.iter().try_for_each(|tstring| { |
| 646 | Unparser::new(f, self.source).unparse_fstring_body(&tstring.elements) |
| 647 | }) |
| 648 | }) |
| 649 | .to_string(); |
| 650 | UnicodeEscape::new_repr(body.as_str().as_ref()) |
| 651 | .str_repr() |
| 652 | .write(self.f) |
| 653 | } |
| 654 | } |
| 655 | |
| 656 | pub struct UnparseExpr<'a> { |
no test coverage detected