Function swc_ecma_utils::calc_literal_cost
source · pub fn calc_literal_cost<T>(e: &T, allow_non_json_value: bool) -> (bool, usize)where
T: VisitWith<LiteralVisitor>,
pub fn calc_literal_cost<T>(e: &T, allow_non_json_value: bool) -> (bool, usize)where
T: VisitWith<LiteralVisitor>,