@[reducible, inline]
Equations
Instances For
@[reducible, inline]
Equations
Instances For
Equations
- Lean.Elab.Term.Quotation.withNewLocal l x = withReader (fun (ctx : Lean.Elab.Term.Quotation.Precheck.Context) => { quotLCtx := ctx.quotLCtx.insert l }) x
Instances For
Equations
- Lean.Elab.Term.Quotation.withNewLocals ls x = withReader (fun (ctx : Lean.Elab.Term.Quotation.Precheck.Context) => { quotLCtx := Array.foldl Lean.NameSet.insert ctx.quotLCtx ls }) x
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.
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.
- Lean.Elab.Term.Quotation.precheckIdent stx = Lean.Elab.throwUnsupportedSyntax
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
- 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
- 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.