doing token introspection to determine @ for autocomplete