- openDecls : List Lean.OpenDecl
- currNamespace : Lean.Name
A local copy of name resolution state that allows us to immediately use new open decls
in further name resolution as in open Lean Elab
.
Instances For
@[inline]
Equations
- Lean.Elab.OpenDecl.M = StateRefT' IO.RealWorld Lean.Elab.OpenDecl.State m
instance
Lean.Elab.OpenDecl.instMonadResolveNameM
{m : Type → Type}
[inst : Monad m]
[inst : MonadLiftT (ST IO.RealWorld) m]
:
Lean.MonadResolveName Lean.Elab.OpenDecl.M
Equations
- One or more equations did not get rendered due to their size.
def
Lean.Elab.OpenDecl.resolveId
{m : Type → Type}
[inst : Monad m]
[inst : Lean.MonadEnv m]
[inst : MonadExceptOf Lean.Exception m]
[inst : Lean.MonadRef m]
[inst : Lean.AddMessageContext m]
[inst : MonadLiftT (ST IO.RealWorld) m]
(ns : Lean.Name)
(idStx : Lean.Syntax)
:
Equations
- One or more equations did not get rendered due to their size.
def
Lean.Elab.OpenDecl.elabOpenDecl
{m : Type → Type}
[inst : Monad m]
[inst : Lean.MonadEnv m]
[inst : MonadExceptOf Lean.Exception m]
[inst : Lean.MonadRef m]
[inst : Lean.AddMessageContext m]
[inst : MonadLiftT (ST IO.RealWorld) m]
[inst : Lean.MonadLog m]
[inst : Lean.MonadResolveName m]
(stx : Lean.TSyntax `Lean.Parser.Command.openDecl)
:
m (List Lean.OpenDecl)
Equations
- One or more equations did not get rendered due to their size.
def
Lean.Elab.OpenDecl.resolveNameUsingNamespaces
{m : Type → Type}
[inst : Monad m]
[inst : Lean.MonadEnv m]
[inst : MonadExceptOf Lean.Exception m]
[inst : Lean.MonadRef m]
[inst : Lean.AddMessageContext m]
[inst : MonadLiftT (ST IO.RealWorld) m]
[inst : Lean.MonadLog m]
[inst : Lean.MonadResolveName m]
(nss : List Lean.Name)
(idStx : Lean.Ident)
:
Equations
- One or more equations did not get rendered due to their size.