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.
clang-tidy: warning: invalid case style for member 'docSym' [readability-identifier-naming]
not useful