Documentation

Lean.Server.Completion.EligibleHeaderDecls

@[reducible, inline]
Equations
    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
        Instances For

          Iterate over all declarations that are allowed in completion results.

          Equations
            Instances For
              def Lean.Server.Completion.allowCompletion (eligibleHeaderDecls : EligibleHeaderDecls) (env : Environment) (declName : Name) :

              Checks whether this declaration can appear in completion results.

              Equations
                Instances For