Searched refs:lit_str (Results 1 – 4 of 4) sorted by relevance
189 for lit_str, lit_val in pairs(literals) do190 local lit_end = pos + #lit_str - 1191 if str:sub(pos, lit_end) == lit_str then return lit_val, lit_end + 1 end
41 if let Lit::Str(lit_str) = &m.lit { in try_from()42 return Ok(CrosAlsaAttr::Path(lit_str.parse()?)); in try_from()
60 let lit_str = lit.value(); in parse() localVariable63 if lit_str.is_empty() { in parse()
175 if let syn::Lit::Str(lit_str) = mnv.lit { in new()177 import: syn::Ident::new(&lit_str.value(), lit_str.span()), in new()