the source code of the file being edited
the cursor position in bytes
a sorted range of tokens before the cursor position
See Implementation