The areas / V01. The language of Mathlib
Mathlib.Lean.PrettyPrinter.Delaborator
4 declarations. Mathlib docs · Source
def Lean.PrettyPrinter.Delaborator.withBindingBodyUnusedName' E1 #
{α : Type} →
(Lean.Syntax → Lean.Expr → Lean.PrettyPrinter.Delaborator.DelabM α) → Lean.PrettyPrinter.Delaborator.DelabM α
Assuming the current expression in a lambda or pi,
descend into the body using an unused name generated from the binder's name.
Provides d with both Syntax for the bound name as an identifier
as well as the fresh fvar for the bound variable.
See also Lean.PrettyPrinter.Delaborator.withBindingBodyUnusedName.
def Lean.PrettyPrinter.Delaborator.OptionsPerPos.setBool E1 #
Lean.PrettyPrinter.Delaborator.OptionsPerPos →
Lean.SubExpr.Pos → Lean.Name → Bool → Lean.PrettyPrinter.Delaborator.OptionsPerPos
Update OptionsPerPos at the given position, setting the key n
to have the Boolean value v.
def Lean.PrettyPrinter.Delaborator.annotateGoToDef E1 #
Lean.Term → Lean.Name → Lean.PrettyPrinter.Delaborator.DelabM Lean.Term
Annotates stx with the go-to-def information of target.
def Lean.PrettyPrinter.Delaborator.annotateGoToSyntaxDef E1 #
Lean.Term → Lean.PrettyPrinter.Delaborator.DelabM Lean.Term
Annotates stx with the go-to-def information of the notation used in stx.