Is this used outside of the parser?  If no, can we move it to `Haddock.Parser.Lexer`?