Xcode uses #pragma mark - to draw a divider in the outline view
and #pragma mark Note to add Note in the outline view. For more
information, see https://nshipster.com/pragma/.
Since the LSP spec doesn't contain dividers for the symbol outline,
instead we treat #pragma mark - as a group with children - the
decls that come after it.
Work left to do:
- Support some edge cases where the document symbols may not be nested / sorted properly.
- Consider supporting #pragma marks before any decls
- Consider supporting the following:
#pragma mark - #pragma mark Bar
by treating it like #pragma mark - Bar instead of an unnamed
group followed by a named mark.
Line number is enough, right?
Column is not interesting, and pragma marks expanded from macros are not possible (and wouldn't be in the main file for our purposes)