Function swc_core::utils::calc_literal_cost
source · [−]pub fn calc_literal_cost<T>(e: &T, allow_non_json_value: bool) -> (bool, usize) where
T: VisitWith<LiteralVisitor>,
Available on crate feature
__utils
only.