Re-exports§
pub use completion::Label as CompletionLabel;pub use hover::Label as HoverLabel;pub use parse::Label as ParseLabel;pub use rename::PrepareRename as PrepareRenameLabel;pub use rename::Rename as RenameLabel;pub use diagnostics::Label as DiagnosticsLabel;pub use save::Label as SaveLabel;pub use inlay::Label as InlayLabel;pub use format::Label as FormatLabel;pub use semantic::Label as SemanticLabel;pub use references::Label as ReferencesLabel;pub use goto_definition::Label as GotoDefinitionLabel;pub use goto_type::Label as GotoTypeLabel;
Modules§
- completion
- diagnostics
- feature
- Hosts all common features of the semantic language server.
All features supported by the language server.
Features like completion (
CompletionRequest) and hover expose a component that collects items returned to the client. - format
- goto_
definition - goto_
type - hover
- inlay
- parse
- references
- rename
- save
- semantic
- semantic_
token - systems
Structs§
- Backend
- Command
Receiver Resourceused to receive command queues. These command queues are handled withhandle_tasks.- Command
Sender Resourceused to send command queues, allowing for async operations.- Completion
Request Componentindicating that the current document is currently handling a Completion request.- Config
- Create
Event - Event triggers when a document is opened
- Current
Type - Diagnostic
Item - Diagnostic
Publisher - Diagnostic
Sender - Dirty
Componentindicating whether or not the document is dirty, a dirty document parsed with errors.- Document
Links Componentused to remember the linked documents.- DynLang
Componentthat allows for language specific implementation for certain things, reducing code duplication.- Element
Componentthat contains the parsed semantic element (i.e. Turtle, JSONLD).- Errors
- Simple wrapper for errors that derives
Component - File
- Format
Request Componentindicating that the current document is currently handling a Format request.- Fs
- Highlight
Request Componentindicating that the current document is currently handling a Hightlight request.- Hover
Request Componentindicating that the current document is currently handling a Hover request.- Inlay
Request Componentindicating that the current document is currently handling a Inlay request.- KeyWords
Componentcontaining the typical keywords for the current language.- Label
Componentcontaining the [lsp_types::Url] of the current document.- Local
Config - MyQuad
- MyTerm
- Open
Componentindicating whether or not the document is actually open.- PToken
- Token struct holding the token and the index in the token array
- Position
Component Componentused to wrap an incoming [lsp_types::Position].- Prefix
- One defined prefix, maps prefix to url
- Prefixes
Componentthat containing defined prefixes and base URL.- Prepare
Rename Request Componentindicating that the current document is currently handling a PrepareRename request.- Rename
Edits Componentindicating that the current document is currently handling a Rename request, collecting TextEdits.- RopeC
Componentcontaining the current source code asropey::Rope- Semantic
Tokens Dict Resourcemapping a [‘SemanticTokenType’] to their used index.- Server
Config - Simple
Completion - Simple
Diagnostic - Source
Componentcontaining the current source code asString- Spanned
- Token
Component Componentused to indicate the currently targetedTokenduring a request.- Tokens
Componentthat contains the parsed tokens.- Triple
Component Componentused to indicate the currently targetedMyQuad<'static>during a request.- Triples
Componentcontaining all derived Triples from the documents.- Triples2
- Type
Hierarchy Resourceused to set and get all super and subtypes starting from aTypeId- Types
- maps terms to all known correct types.
- Wrapped
- Simple wrapper structure that derives
Component
Enums§
- Disabled
- Sparql
Aggregate - Sparql
Call - Sparql
Expr - Sparql
Expr2 - Sparql
Expr3 - Sparql
Keyword - String
Style - Token
- Triple
Target Componentused to indicate the term type of currently targetedTokenin the Triple.
Traits§
Functions§
- get_
current_ token - get_
current_ triple - lsp_
range_ to_ range - offset_
to_ position - offsets_
to_ range - position_
to_ offset - range_
to_ range - setup_
schedule_ labels - Initializes a
World, includingResourcesandSchedules. All systems defined incrateare added to theWorld. - spanned
- spawn_
or_ insert