If DocumentSpan.textSpan is the span for name of the declaration, then this is the span for relevant declaration