Handles dot completion for identifiers and types.
the tokens before the cursor
all tokens in the file
the cursor position in bytes
the autocompletion response
See Implementation
Handles dot completion for identifiers and types.