Turning location information into highlighted text suitable for rendering. You probably do not need this module unless you want to create your own diagnostic handler.
Reading the source content. It uses memory-mapped I/O for files. You probably do not need this module unless you want to create your own diagnostic handler.