- kind : Lean.AttributeKind
- name : Lean.Name
- stx : Lean.Syntax
Instances For
attrKind := leading_parser optional («scoped» <|> «local»)
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Lean.Elab.elabAttr
{m : Type → Type}
[Monad m]
[Lean.MonadEnv m]
[Lean.MonadResolveName m]
[Lean.MonadError m]
[Lean.Elab.MonadMacroAdapter m]
[Lean.MonadRecDepth m]
[Lean.MonadTrace m]
[Lean.MonadOptions m]
[Lean.AddMessageContext m]
[MonadLiftT IO m]
(attrInstance : Lean.Syntax)
:
Instances For
def
Lean.Elab.elabAttrs
{m : Type → Type}
[Monad m]
[Lean.MonadEnv m]
[Lean.MonadResolveName m]
[Lean.MonadError m]
[Lean.Elab.MonadMacroAdapter m]
[Lean.MonadRecDepth m]
[Lean.MonadTrace m]
[Lean.MonadOptions m]
[Lean.AddMessageContext m]
[Lean.MonadLog m]
[MonadLiftT IO m]
(attrInstances : Array Lean.Syntax)
:
Instances For
def
Lean.Elab.elabDeclAttrs
{m : Type → Type}
[Monad m]
[Lean.MonadEnv m]
[Lean.MonadResolveName m]
[Lean.MonadError m]
[Lean.Elab.MonadMacroAdapter m]
[Lean.MonadRecDepth m]
[Lean.MonadTrace m]
[Lean.MonadOptions m]
[Lean.AddMessageContext m]
[Lean.MonadLog m]
[MonadLiftT IO m]
(stx : Lean.Syntax)
:
Equations
- Lean.Elab.elabDeclAttrs stx = Lean.Elab.elabAttrs stx[1].getSepArgs