- env : Environment
- mctx : MetavarContext
- lctx : LocalContext
- opts : Options
- currNamespace : Name
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 : Format
- infos : PrettyPrinter.InfoPerPos
Instances For
Equations
- Lean.instCoeFormatFormatWithInfos = { coe := fun (fmt : Std.Format) => { fmt := fmt, infos := ∅ } }
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
- Lean.ppLevel ctx l = (Lean.ppExt.getState ctx.env).ppLevel ctx l