#guard_msgs
command for testing commands
This module defines a command to test that another command produces the expected messages.
See the docstring on the #guard_msgs
command.
The decision made by a specification for a message.
- check: Lean.Elab.Tactic.GuardMsgs.SpecResult
Capture the message and check it matches the docstring.
- drop: Lean.Elab.Tactic.GuardMsgs.SpecResult
Drop the message and delete it.
- passthrough: Lean.Elab.Tactic.GuardMsgs.SpecResult
Do not capture the message.
Instances For
def
Lean.Elab.Tactic.GuardMsgs.parseGuardMsgsSpec
(spec? : Option (Lean.TSyntax `Lean.guardMsgsSpec))
:
Parses a guardMsgsSpec
.
- No specification: check everything.
- With a specification: interpret the spec, and if nothing applies pass it through.
Equations
- One or more equations did not get rendered due to their size.
Instances For
An info tree node corresponding to a failed #guard_msgs
invocation,
used for code action support.
- res : String
The result of the nested command
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
A code action which will update the doc comment on a #guard_msgs
invocation.
Equations
- One or more equations did not get rendered due to their size.