Functions called by the generated code
string_of_loc is used to implement sexp_of_loc, and is exposed at least so it can be rebound in core_kernel.
string_of_loc
sexp_of_loc