Returns the inner LSP Range of the assembly-flags string the cursor is
inside (e.g. assembly ("memory-safe")), or None if the cursor is not
inside an assembly flags string.
Parse source_bytes with tree-sitter and return all import paths with
their ranges. This is independent of the solc AST and always reflects
the current source content, making it safe to use when the AST is
stale or unavailable (e.g. after a failed re-index).