Skip to main content

Crate qlue_ls

Crate qlue_ls 

Source
Expand description

qlue-ls language server library.

This crate provides the core language server implementation for SPARQL, usable from both native and WASM targets.

§Native Usage

For native builds (including tests), use the re-exported server types:

§WASM Usage

For WASM builds, additional functions are available:

  • [init_language_server]: Creates a new server instance with a Web Streams writer
  • [listen]: Main event loop using Web Streams API for I/O
  • server: Core server implementation shared across all targets
  • main.rs (native only): CLI entry point using stdio

Structs§

FormatSettings
LspServer
Server

Functions§

format_raw
format_with_settings
Format SPARQL text with custom settings.
handle_lsp_message
handle_message