pub fn get_lit_str(attr_name: Symbol, value: &Expr) -> Result<&LitStr>
Expand description
Get a literal string from the provided expression.
pub fn get_lit_str(attr_name: Symbol, value: &Expr) -> Result<&LitStr>
Get a literal string from the provided expression.