Documentation

Lean.Compiler.MetaAttr

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

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

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

    Marks the given declaration as not being annotated with meta even if it could have been by the user.

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

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

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

        Whether a declaration should be exported for interpretation.

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

          Marks a declaration to be exported for interpretation.

          Instances For
            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.

            Instances For