Modules§
Structs§
- CstTokens
Componentthat contains CST leaf tokens from the rowan syntax tree.- Token
Component Componentused to indicate the currently targeted token during a request.
Functions§
- get_
current_ cst_ token - Resolve the token at the request’s cursor (see
token_at_cursor) into aTokenComponent. In whitespace, the token is empty and sits at the cursor, so completion text is inserted there and filters accept anything. - token_
at_ cursor - The token a cursor at byte
offsetbelongs to, given the tokens’ spans.