Reading/writing LSP messages from/to IO handles.
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
def Lean.IO.FS.Stream.readLspRequestAs (h : IO.FS.Stream) (expectedMethod : String) (α : Type) [FromJson α] :
IO (JsonRpc.Request α)
Equations
- One or more equations did not get rendered due to their size.
Instances For
def Lean.IO.FS.Stream.readLspNotificationAs (h : IO.FS.Stream) (expectedMethod : String) (α : Type) [FromJson α] :
Equations
- One or more equations did not get rendered due to their size.
Instances For
def Lean.IO.FS.Stream.readLspResponseAs (h : IO.FS.Stream) (expectedID : JsonRpc.RequestID) (α : Type) [FromJson α] :
IO (JsonRpc.Response α)
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
Instances For
Equations
Instances For
def Lean.IO.FS.Stream.writeLspRequest {α : Type u_1} [ToJson α] (h : IO.FS.Stream) (r : JsonRpc.Request α) :
Equations
Instances For
def Lean.IO.FS.Stream.writeLspNotification {α : Type u_1} [ToJson α] (h : IO.FS.Stream) (n : JsonRpc.Notification α) :
Equations
Instances For
def Lean.IO.FS.Stream.writeLspResponse {α : Type u_1} [ToJson α] (h : IO.FS.Stream) (r : JsonRpc.Response α) :
Equations
Instances For
Equations
Instances For
def Lean.IO.FS.Stream.writeLspResponseErrorWithData {α : Type u_1} [ToJson α] (h : IO.FS.Stream) (e : JsonRpc.ResponseError α) :