lsp
LSP structures and types.
Index
Classes
LSP compatible |
||
LSP compatible |
||
LSP compatible |
Enumerations
LSP position encoding kind. |
||
LSP defined semantic token modifiers. |
||
LSP defined semantic token types. |
Enumerations
- class PositionEncodingKind
LSP position encoding kind.
Note that Syside uses Utf-8 internally so it will incur no performance penalty. Other encodings will require lazy conversions, however allocations will be avoided whenever possible.
For Python strings, use Utf-32 encoding as that is what is used for string indexing and slicing.
See LSP specification for more details.
- class SemanticTokenModifiers
LSP defined semantic token modifiers.
Technically, this is not a flag enum but
nanobinddoes not permit arbitrary values otherwise.See LSP specification and VS Code docs for more details.
- class SemanticTokenTypes
LSP defined semantic token types.
Technically, this is not a flag enum but
nanobinddoes not permit arbitrary values otherwise.See LSP specification and VS Code docs for more details.
Namespace= 0
Type= 1
Class= 2
Enum= 3
Interface= 4
Struct= 5
TypeParameter= 6
Parameter= 7
Variable= 8
Property= 9
EnumMember= 10
Event= 11
Function= 12
Method= 13
Macro= 14
Keyword= 15
Modifier= 16
Comment= 17
String= 18
Number= 19
Regexp= 20
Operator= 21
Decorator= 22