Instances For
@[implemented_by Lean.Linter.MissingDocs.mkHandlerUnsafe]
def
Lean.Linter.MissingDocs.addHandler
(env : Lean.Environment)
(declName key : Lean.Name)
(h : Lean.Linter.MissingDocs.Handler)
:
Instances For
Equations
- Lean.Linter.MissingDocs.getHandlers env = (Lean.Linter.MissingDocs.missingDocsExt.getState env).snd
Instances For
def
Lean.Linter.MissingDocs.addBuiltinHandler
(key : Lean.Name)
(h : Lean.Linter.MissingDocs.Handler)
:
Equations
- Lean.Linter.MissingDocs.addBuiltinHandler key h = ST.Ref.modify Lean.Linter.MissingDocs.builtinHandlersRef fun (x : Lean.NameMap Lean.Linter.MissingDocs.Handler) => x.insert key h
Instances For
Equations
- Lean.Linter.MissingDocs.lint stx msg = Lean.Linter.logLint Lean.Linter.linter.missingDocs stx (Lean.toMessageData "missing doc string for " ++ Lean.toMessageData msg ++ Lean.toMessageData "")
Instances For
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
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
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Lean.Linter.MissingDocs.mkSimpleHandler name stx = if stx[0].isNone = true then Lean.Linter.MissingDocs.lintNamed stx[2] name else pure PUnit.unit
Instances For
Equations
- One or more equations did not get rendered due to their size.