@[reducible, inline]
Instances For
Cached header declarations for which allowCompletion headerEnv decl
is true.
Returns the declarations in the header for which allowCompletion env decl
is true, caching them
if not already cached.
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Lean.Server.Completion.forEligibleDeclsM
{m : Type → Type}
[Monad m]
[Lean.MonadEnv m]
[MonadLiftT (ST IO.RealWorld) m]
[MonadLiftT IO m]
(f : Lean.Name → Lean.ConstantInfo → m PUnit)
:
m PUnit
Iterate over all declarations that are allowed in completion results.
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Lean.Server.Completion.allowCompletion
(eligibleHeaderDecls : Lean.Server.Completion.EligibleHeaderDecls)
(env : Lean.Environment)
(declName : Lean.Name)
:
Checks whether this declaration can appear in completion results.
Equations
- One or more equations did not get rendered due to their size.