Equations
- One or more equations did not get rendered due to their size.
Instances For
Handles completionItem/resolve
requests that are sent by the client after the user selects
a completion item that was provided by textDocument/completion
. Resolving the item fills the
detail?
field of the item with the pretty-printed type.
This control flow is necessary because pretty-printing the type for every single completion item
(even those never selected by the user) is inefficient.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Instances For
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
The list of the name components introduced by this namespace command, in reverse order so that
end
will peel them off from the front.- stx : Lean.Syntax
- selection : Lean.Syntax
- prevSiblings : Array Lean.Lsp.DocumentSymbol
Instances For
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
SyntaxNodeKind
s for which the syntax node and its children receive no semantic highlighting.
Instances For
Keywords for which a specific semantic token is provided.
Instances For
Semantic token information for a given Syntax
.
- stx : Lean.Syntax
Syntax of the semantic token.
- type : Lean.Lsp.SemanticTokenType
Type of the semantic token.
Instances For
Semantic token information with absolute LSP positions.
- pos : Lean.Lsp.Position
Start position of the semantic token.
- tailPos : Lean.Lsp.Position
End position of the semantic token.
- type : Lean.Lsp.SemanticTokenType
Start position of the semantic token.
Instances For
Given a set of LeanSemanticToken
, computes the AbsoluteLspSemanticToken
with absolute
LSP position information for each token.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Filters all duplicate semantic tokens with the same pos
, tailPos
and type
.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Given a set of AbsoluteLspSemanticToken
, computes the LSP SemanticTokens
data with
token-relative positioning.
See https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_semanticTokens.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Collects all semantic tokens that can be deduced purely from Syntax
without elaboration information.
Collects all semantic tokens from the given Elab.InfoTree
.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Computes the semantic tokens in the range [beginPos, endPos?).
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Computes all semantic tokens for the document.
Instances For
Computes the semantic tokens in the range provided by p
.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Lean.Server.FileWorker.handleFoldingRange.isImport stx = (stx.isOfKind `Lean.Parser.Module.header || stx.isOfKind `Lean.Parser.Command.open)
Instances For
Instances For
Instances For
Equations
- One or more equations did not get rendered due to their size.