This function returns subspans for the token before each occurrence of tok in span.
```
SomeStruct{a: a, ab: ab}
           ^     ^
```
This should be much cleaner than before.