Runner for tests/lean/interactive server tests. Put here to avoid repeated elaboration overhead
per test.
- freshPtr : USize
- knownPtrs : Std.TreeMap USize USize compare
Instances For
@[reducible, inline]
Equations
Instances For
def
Lean.Server.Test.Runner.Client.NormalizeM.run
{α : Type}
(x : NormalizeM α)
(s : NormalizeState)
:
α
Equations
Instances For
Equations
Instances For
- info : Lsp.RpcRef
- subexprPos : String
Instances For
Equations
Equations
Instances For
Equations
Instances For
- type : Widget.TaggedText SubexprInfo
- val? : Option (Widget.TaggedText SubexprInfo)
Instances For
Equations
Instances For
- type : Widget.TaggedText SubexprInfo
- ctx : Lsp.RpcRef
Instances For
Equations
Instances For
Equations
Instances For
structure
Lean.Server.Test.Runner.Client.InteractiveGoalextends Lean.Server.Test.Runner.Client.InteractiveGoalCore :
Instances For
Equations
Instances For
Equations
Equations
Instances For
- goals : Array InteractiveGoal
Instances For
Equations
Instances For
Equations
Instances For
structure
Lean.Server.Test.Runner.Client.InteractiveTermGoalextends Lean.Server.Test.Runner.Client.InteractiveGoalCore :
- range : Lsp.Range
- term : Lsp.RpcRef
Instances For
Equations
Instances For
Equations
Instances For
Equations
Equations
Instances For
- strict {α β : Type} : α → StrictOrLazy α β
- lazy {α β : Type} : β → StrictOrLazy α β
Instances For
instance
Lean.Server.Test.Runner.Client.instFromJsonStrictOrLazy
{α✝ β✝ : Type}
[FromJson α✝]
[FromJson β✝]
:
FromJson (StrictOrLazy α✝ β✝)
Equations
def
Lean.Server.Test.Runner.Client.instFromJsonStrictOrLazy.fromJson
{α✝ β✝ : Type}
[FromJson α✝]
[FromJson β✝]
:
Json → Except String (StrictOrLazy α✝ β✝)
Equations
Instances For
instance
Lean.Server.Test.Runner.Client.instToJsonStrictOrLazy
{α✝ β✝ : Type}
[ToJson α✝]
[ToJson β✝]
:
ToJson (StrictOrLazy α✝ β✝)
Equations
def
Lean.Server.Test.Runner.Client.instToJsonStrictOrLazy.toJson
{α✝ β✝ : Type}
[ToJson α✝]
[ToJson β✝]
:
StrictOrLazy α✝ β✝ → Json
Equations
Instances For
- expr : Widget.TaggedText SubexprInfo → MsgEmbed
- goal : InteractiveGoal → MsgEmbed
- widget (wi : WidgetInstance) (alt : Widget.TaggedText MsgEmbed) : MsgEmbed
- trace (indent : Nat) (cls : Name) (msg : Widget.TaggedText MsgEmbed) (collapsed : Bool) (children : StrictOrLazy (Array (Widget.TaggedText MsgEmbed)) Lsp.RpcRef) : MsgEmbed
Instances For
@[reducible, inline]
Equations
Instances For
Equations
Instances For
def
Lean.Server.Test.Runner.Client.normalizeInteractiveDiagnostics
(diags : Array InteractiveDiagnostic)
:
Equations
Instances For
- type : Option (Widget.TaggedText SubexprInfo)
- exprExplicit : Option (Widget.TaggedText SubexprInfo)
Instances For
Equations
Instances For
Equations
Instances For
- kind : GoToKind
- info : Lsp.RpcRef
Instances For
Equations
Instances For
- query : String
- msg : Widget.TaggedText MsgEmbed
Instances For
Equations
Instances For
- subexpr (info : SubexprInfo) : HighlightedSubexprInfo
- highlighted : HighlightedSubexprInfo
Instances For
Equations
Instances For
- expr : Widget.TaggedText HighlightedSubexprInfo → HighlightedMsgEmbed
- goal : InteractiveGoal → HighlightedMsgEmbed
- widget (wi : WidgetInstance) (alt : Widget.TaggedText HighlightedMsgEmbed) : HighlightedMsgEmbed
- trace (indent : Nat) (cls : Name) (msg : Widget.TaggedText HighlightedMsgEmbed) (collapsed : Bool) (children : StrictOrLazy (Array (Widget.TaggedText HighlightedMsgEmbed)) Lsp.RpcRef) : HighlightedMsgEmbed
- highlighted : HighlightedMsgEmbed
Instances For
Test-only instances
Equations
Instances For
Equations
Instances For
Equations
Instances For
- uri : Lsp.DocumentUri
- synced : Bool
- lineNo : Nat
- lastActualLineNo : Nat
- pos : Lsp.Position
- method : String
- params : String
- versionNo : Nat
- requestNo : Nat
Instances For
@[reducible, inline]