Expand description
One source file of a project: its text, its syntax tree, and conversion between byte offsets and LSP positions.
Structsยง
- Document ๐
Enumsยง
- Encoding ๐
- The unit LSP positions count columns in, agreed with the client at startup.
Functionsยง
- is_
name_ ๐char - Names are ASCII, so a non-ASCII character always ends one.
- to_u32 ๐
- LSP counts in
u32; a source file never comes near that size.