MCPcopy Index your code
hub / github.com/RustPython/RustPython / str_repr

Method str_repr

crates/literal/src/escape.rs:113–115  ·  view source on GitHub ↗
(&'a self)

Source from the content-addressed store, hash-verified

111 }
112 #[inline]
113 pub const fn str_repr<'r>(&'a self) -> StrRepr<'r, 'a> {
114 StrRepr(self)
115 }
116}
117
118pub struct StrRepr<'r, 'a>(&'r UnicodeEscape<'a>);

Callers 4

reprMethod · 0.80
unparse_exprMethod · 0.80
unparse_fstringMethod · 0.80
unparse_tstringMethod · 0.80

Calls 1

StrReprClass · 0.85

Tested by

no test coverage detected