Documentation

Lean.Elab.Util

Equations
Equations
structure Lean.Elab.MacroStackElem :
Type
Equations
def Lean.Elab.addMacroStack {m : TypeType} [inst : Monad m] [inst : Lean.MonadOptions m] (msgData : Lean.MessageData) (macroStack : Lean.Elab.MacroStack) :
Equations
def Lean.Elab.checkSyntaxNodeKind {m : TypeType} [inst : Monad m] [inst : Lean.MonadEnv m] [inst : Lean.MonadError m] (k : Lean.Name) :
Equations
@[implementedBy _private.Lean.Elab.Util.0.Lean.Elab.evalSyntaxConstantUnsafe]
unsafe def Lean.Elab.mkElabAttribute (γ : Type) (attrDeclName : Lean.Name) (attrBuiltinName : Lean.Name) (attrName : Lean.Name) (parserNamespace : Lean.Name) (typeName : Lean.Name) (kind : String) :
Equations
@[implementedBy Lean.Elab.mkMacroAttributeUnsafe]
Equations
instance Lean.Elab.instMonadMacroAdapter (m : TypeType) (n : TypeType) [inst : MonadLift m n] [inst : Lean.Elab.MonadMacroAdapter m] :
Equations
def Lean.Elab.liftMacroM {α : Type} {m : TypeType} [inst : Monad m] [inst : Lean.Elab.MonadMacroAdapter m] [inst : Lean.MonadEnv m] [inst : Lean.MonadRecDepth m] [inst : Lean.MonadError m] [inst : Lean.MonadResolveName m] [inst : Lean.MonadTrace m] [inst : Lean.MonadOptions m] [inst : Lean.AddMessageContext m] (x : Lean.MacroM α) :
m α
Equations
@[inline]
def Lean.Elab.adaptMacro {m : TypeType} [inst : Monad m] [inst : Lean.Elab.MonadMacroAdapter m] [inst : Lean.MonadEnv m] [inst : Lean.MonadRecDepth m] [inst : Lean.MonadError m] [inst : Lean.MonadResolveName m] [inst : Lean.MonadTrace m] [inst : Lean.MonadOptions m] [inst : Lean.AddMessageContext m] (x : Lean.Macro) (stx : Lean.Syntax) :
Equations
Equations
partial def Lean.Elab.mkUnusedBaseName.loop (baseName : Lean.Name) (currNamespace : Lean.Name) (idx : Nat) :