Extra

SysIDE IDE

syside.ide.AbsoluteSemanticToken

Semantic token using absolute positions.

syside.ide.DeltaSemanticToken

Semantic token using delta encoded positions.

syside.ide.SemanticTokenModifiersSet

Fixed-size bitset of SemanticTokenModifiers for easier use with LSP serialization.

syside.ide.SemanticTokensBuilder

Helper for building LSP compatible semantic tokens.

syside.ide.build_full_semantic_tokens

Build full document semantic tokens. Returns builder if successful, and None otherwise. Generally, None is returned if the document has nothing to highlight.

syside.ide.build_delta_semantic_tokens

Build full document semantic tokens for edits. Returns builder if successful, and None otherwise. Generally, None is returned if the document has nothing to highlight.

syside.ide.build_range_semantic_tokens

Build range document semantic tokens. Returns builder if successful, and None otherwise. Generally, None is returned if the document has nothing to highlight.

syside.ide.lsp.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.

syside.ide.lsp.SemanticTokenModifiers

LSP defined semantic token modifiers. Technically, this is not a flag enum but nanobind does not permit arbitrary values otherwise.

syside.ide.lsp.SemanticTokenTypes

LSP defined semantic token types. Technically, this is not a flag enum but nanobind does not permit arbitrary values otherwise.

syside.ide.lsp.SemanticTokens

syside.ide.lsp.SemanticTokensDelta

syside.ide.lsp.SemanticTokensEdit

S-Expressions

sexp

Generate a minimal S-expression of owned elements rooted at root, useful for debugging.

SexpOptions

syside.debug

syside.gc

Internal GC interface. Currently only Documents are collected by the internal garbage collector.

syside.gc.Debug

Debug options for the garbage collector.

syside.gc.collect

Explicitly call garbage collector once.

syside.gc.disable

Disable automatic garbage collection.

syside.gc.enable

Enable automatic garbage collection.

syside.gc.get_count

Returns the number of currently tracked objects.

syside.gc.get_debug

Return a copy of the current debug options of the garbage collector.

syside.gc.get_executor

The executor assigned to the garbage collector.

syside.gc.get_threshold

Return the current threshold.

syside.gc.is_tracked

Returns True if document is tracked by the garbage collector.

syside.gc.isenabled

Returns True if automatic collection is enabled.

syside.gc.set_debug

Set default options for the garbage collector. By default, everything is printed to stderr.

syside.gc.set_executor

Assign an executor to the garbage collector. Without an executor, the garbage collector always runs on the thread that invokes it, e.g. the main thread. In addition to processing documents concurrently, documents will also be destroyed asynchronously further improving performance.

syside.gc.set_threshold

Set the garbage collector threshold, 0 disables collection. Negative values raise ValueError.

syside.gc.track

Add document to garbage collector tracking list. Returns False if document was already tracked.

syside.gc.untrack

Remove document from the garbage collector tracking list. Returns False if document was not tracked.

syside.version