Merlin diagnostics module.
Provides diagnostics and symbol information for a master document and its includes. Also contains the workspace scanner and workspace methods. Used for both CLI and LSP.