Documentation

Lean.Compiler.MetaAttr

def Lean.addMeta (env : Environment) (declName : Name) :

Marks in the environment extension that the given declaration has been declared by the user as meta.

Equations
Instances For
    def Lean.isMeta (env : Environment) (declName : Name) :

    Returns true iff the user has declared the given declaration as meta.

    Equations
    Instances For
      @[export lean_get_ir_phases]
      def Lean.getIRPhases (env : Environment) (declName : Name) :

      Returns the IR phases of the given declaration that should be considered accessible. Does not take additional IR loaded for language server purposes into account.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For