Lines Matching defs:LitStr
25 Str(LitStr),
54 pub struct LitStr {
121 impl LitStr {
125 LitStr {
141 /// All spans in the syntax tree will point to the span of this `LitStr`.
178 /// All spans in the syntax tree will point to the span of this `LitStr`.
184 /// # use syn::{LitStr, Result};
187 /// # let lit_str = LitStr::new("a::b::c", Span::call_site());
190 /// let lit_str: LitStr = /* ... */;
561 impl Debug for LitStr {
563 impl LitStr {
575 self.debug(formatter, "LitStr")
771 lit_extra_traits!(LitStr);
887 impl Parse for LitStr {
971 impl ToTokens for LitStr {
1035 return Lit::Str(LitStr {