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 Resource
used to receive command queues. These command queues are handled withhandle_tasks
.- Command
Sender Resource
used to send command queues, allowing for async operations.- Completion
Request Component
indicating that the current document is currently handling a Completion request.- Create
Event - Event triggers when a document is opened
- Current
Type - Diagnostic
Item - Diagnostic
Publisher - Diagnostic
Sender - Dirty
Component
indicating whether or not the document is dirty, a dirty document parsed with errors.- Document
Links Component
used to remember the linked documents.- DynLang
Component
that allows for language specific implementation for certain things, reducing code duplication.- Element
Component
that contains the parsed semantic element (i.e. Turtle, JSONLD).- Errors
- Simple wrapper for errors that derives
Component
- Format
Request Component
indicating that the current document is currently handling a Format request.- Fs
- Highlight
Request Component
indicating that the current document is currently handling a Hightlight request.- Hover
Request Component
indicating that the current document is currently handling a Hover request.- Inlay
Request Component
indicating that the current document is currently handling a Inlay request.- KeyWords
Component
containing the typical keywords for the current language.- Label
Component
containing thelsp_types::Url
of the current document.- MyQuad
- MyTerm
- Open
Component
indicating whether or not the document is actually open.- PToken
- Token struct holding the token and the index in the token array
- Position
Component Component
used to wrap an incominglsp_types::Position
.- Prefix
- One defined prefix, maps prefix to url
- Prefixes
Component
that containing defined prefixes and base URL.- Prepare
Rename Request Component
indicating that the current document is currently handling a PrepareRename request.- Rename
Edits Component
indicating that the current document is currently handling a Rename request, collecting TextEdits.- RopeC
Component
containing the current source code asropey::Rope
- Semantic
Tokens Dict Resource
mapping a [‘SemanticTokenType’] to their used index.- Simple
Completion - Simple
Diagnostic - Source
Component
containing the current source code asString
- Spanned
- Token
Component Component
used to indicate the currently targetedToken
during a request.- Tokens
Component
that contains the parsed tokens.- Triple
Component Component
used to indicate the currently targeted [MyQuad<'static>
] during a request.- Triples
Component
containing all derived Triples from the documents.- Triples2
- Type
Hierarchy Resource
used 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§
- Sparql
Aggregate - Sparql
Call - Sparql
Expr - Sparql
Expr2 - Sparql
Expr3 - Sparql
Keyword - String
Style - Token
- Triple
Target Component
used to indicate the term type of currently targetedToken
in 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
, includingResources
andSchedules
. All systems defined incrate
are added to theWorld
. - spanned
- spawn_
or_ insert