pub fn visualize_loc(
script: &str,
loc: &Location,
err_ty: &str,
desc: &str,
ln_offset: usize,
filename: &str,
) -> String
Expand description
pretty print a location in script with desc.
ln_offset
is line offset number that added to loc
’s row
, filename
is the file’s name display with it’s row and columns info.