- env : Lean.Environment
- mctx : Lean.MetavarContext
- lctx : Lean.LocalContext
- opts : Lean.Options
- currNamespace : Lean.Name
- openDecls : List Lean.OpenDecl
Instances For
@[reducible, inline]
Instances For
A format tree with Elab.Info
annotations.
Each .tag n _
node is annotated with infos[n]
.
This is used to attach semantic data such as expressions
to pretty-printer outputs.
- fmt : Std.Format
- infos : Lean.PrettyPrinter.InfoPerPos
Instances For
Equations
- Lean.instCoeFormatFormatWithInfos = { coe := fun (fmt : Std.Format) => { fmt := fmt, infos := ∅ } }
- ppExprWithInfos : Lean.PPContext → Lean.Expr → IO Lean.FormatWithInfos
- ppConstNameWithInfos : Lean.PPContext → Lean.Name → IO Lean.FormatWithInfos
- ppTerm : Lean.PPContext → Lean.Term → IO Std.Format
- ppLevel : Lean.PPContext → Lean.Level → BaseIO Std.Format
- ppGoal : Lean.PPContext → Lean.MVarId → IO Std.Format
Instances For
Equations
- Lean.formatRawTerm ctx stx = stx.raw.formatStx (some (Lean.Option.get ctx.opts Lean.pp.raw.maxDepth)) (Lean.Option.get ctx.opts Lean.pp.raw.showInfo)
Instances For
Equations
- Lean.formatRawGoal mvarId = Std.Format.text "goal " ++ Std.format (Lean.mkMVar mvarId)
Instances For
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
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Lean.ppLevel ctx l = (Lean.ppExt.getState ctx.env).ppLevel ctx l
Instances For
Equations
- One or more equations did not get rendered due to their size.