def
IO.FS.Stream.chainRight
(a : IO.FS.Stream)
(b : IO.FS.Stream)
(flushEagerly : optParam Bool false)
:
Chains two streams by creating a new stream s.t. writing to it
just writes to a
but reading from it also duplicates the read output
into b
, c.f. a | tee b
on Unix.
NB: if a
is written to but this stream is never read from,
the output will not be duplicated. Use this if you only care
about the data that was actually read.
Instances For
def
IO.FS.Stream.chainLeft
(a : IO.FS.Stream)
(b : IO.FS.Stream)
(flushEagerly : optParam Bool false)
:
Like tee a | b
on Unix. See chainOut
.
Instances For
Prefixes all written outputs with pre
.
Instances For
- uri : Lean.Lsp.DocumentUri
- version : Nat
- text : Lean.FileMap
Instances For
Instances For
Instances For
Duplicates an I/O stream to a log file fName
in LEAN_SERVER_LOG_DIR
if that envvar is set.
Instances For
def
Lean.Server.applyDocumentChange
(oldText : Lean.FileMap)
(change : Lean.Lsp.TextDocumentContentChangeEvent)
:
Returns the document contents with the change applied.
Instances For
def
Lean.Server.foldDocumentChanges
(changes : Array Lean.Lsp.TextDocumentContentChangeEvent)
(oldText : Lean.FileMap)
:
Returns the document contents with all changes applied.
Instances For
def
Lean.Server.publishDiagnostics
(m : Lean.Server.DocumentMeta)
(diagnostics : Array Lean.Lsp.Diagnostic)
(hOut : IO.FS.Stream)
:
Instances For
def
Lean.Server.publishProgress
(m : Lean.Server.DocumentMeta)
(processing : Array Lean.Lsp.LeanFileProgressProcessingInfo)
(hOut : IO.FS.Stream)
:
Instances For
def
Lean.Server.publishProgressAtPos
(m : Lean.Server.DocumentMeta)
(pos : String.Pos)
(hOut : IO.FS.Stream)
(kind : optParam Lean.Lsp.LeanFileProgressKind Lean.Lsp.LeanFileProgressKind.processing)
:
Instances For
Instances For
def
Lean.Server.applyWorkspaceEdit
(params : Lean.Lsp.ApplyWorkspaceEditParams)
(hOut : IO.FS.Stream)
: