pub(crate) fn from_lit(lit: ast::Lit) -> Self {
        Self::Lit(Box::new(ast::ExprLit {
            attributes: Vec::new(),
            lit,
        }))
    }
/// Internal function to construct a literal expression.
Internal function to construct a literal expression.
Internal function to construct a literal expression .
pub(crate) fn from_lit(lit: ast::Lit) -> Self {
        Self::Lit(Box::new(ast::ExprLit {
            attributes: Vec::new(),
            lit,
        }))
    }
pub ( crate ) fn from_lit ( lit : ast :: Lit ) -> Self { Self :: Lit ( Box :: new ( ast :: ExprLit { attributes : Vec :: new ( ) , lit , } ) ) }
Internal function to construct a literal expression.
Internal function to construct a literal expression .
lit
ast::Lit
lit
ast::Lit