Instances For
def
Lean.Server.FileWorker.locationLinksOfInfo
(kind : Lean.Server.GoToKind)
(ictx : Lean.Elab.InfoWithCtx)
(infoTree? : optParam (Option Lean.Elab.InfoTree) none)
:
Instances For
def
Lean.Server.FileWorker.locationLinksOfInfo.extractInstances
(i : Lean.Elab.Info)
(ci : Lean.Elab.ContextInfo)
:
Equations
- One or more equations did not get rendered due to their size.
- Lean.Server.FileWorker.locationLinksOfInfo.extractInstances i ci x = pure #[]
Instances For
def
Lean.Server.FileWorker.handleDefinition
(kind : Lean.Server.GoToKind)
(p : Lean.Lsp.TextDocumentPositionParams)
:
Instances For
partial def
Lean.Server.FileWorker.handleDocumentHighlight.highlightReturn?
(text : Lean.FileMap)
(pos : String.Pos)
(doRange? : Option Lean.Lsp.Range)
:
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
def
Lean.Server.FileWorker.NamespaceEntry.finish
(text : Lean.FileMap)
(syms : Array Lean.Lsp.DocumentSymbol)
(endStx : Option Lean.Syntax)
:
Instances For
partial def
Lean.Server.FileWorker.handleDocumentSymbol.toDocumentSymbols
(text : Lean.FileMap)
(stxs : List Lean.Syntax)
(syms : Array Lean.Lsp.DocumentSymbol)
(stack : List Lean.Server.FileWorker.NamespaceEntry)
:
partial def
Lean.Server.FileWorker.handleDocumentSymbol.toDocumentSymbols.popStack
(text : Lean.FileMap)
(stx : Lean.Syntax)
(stxs : List Lean.Syntax)
(n : Nat)
(syms : Array Lean.Lsp.DocumentSymbol)
:
- beginPos : String.Pos
- endPos : String.Pos
- text : Lean.FileMap
Instances For
- lastLspPos : Lean.Lsp.Position
Instances For
Instances For
Instances For
partial def
Lean.Server.FileWorker.handleFoldingRange.addRanges
(text : Lean.FileMap)
(sections : List (Nat × Option String.Pos))
:
partial def
Lean.Server.FileWorker.handleFoldingRange.addRanges.popRanges
(text : Lean.FileMap)
(stx : Lean.Syntax)
(stxs : List Lean.Syntax)
(n : Nat)
(sections : List (Nat × Option String.Pos))
:
def
Lean.Server.FileWorker.handleFoldingRange.addCommandRange
(text : Lean.FileMap)
(stx : Lean.Syntax)
:
Instances For
def
Lean.Server.FileWorker.handleFoldingRange.addRangeFromSyntax
(text : Lean.FileMap)
(kind : Lean.Lsp.FoldingRangeKind)
(stx : Lean.Syntax)
:
Instances For
def
Lean.Server.FileWorker.handleFoldingRange.addRange
(text : Lean.FileMap)
(kind : Lean.Lsp.FoldingRangeKind)
(start? : Option String.Pos)
(stop? : Option String.Pos)
: