@[reducible, inline]
Equations
Instances For
Registers a double backtick syntax quotation pre-check.
@[quot_precheck k]
registers a declaration of type Lean.Elab.Term.Quotation.Precheck
for the
syntax node kind k
. It should implement eager name analysis on the passed syntax by throwing an
exception on unbound identifiers, and calling precheck
recursively on nested terms, potentially
with an extended local context (withNewLocal
). Macros without registered precheck hook are
unfolded, and identifier-less syntax is ultimately assumed to be well-formed.