Documentation

Lean.Elab.Import

def Lean.Elab.headerToImports :
TSyntax `Lean.Parser.Module.headerArray Import
Equations
  • One or more equations did not get rendered due to their size.
Instances For
    def Lean.Elab.processHeader (header : TSyntax `Lean.Parser.Module.header) (opts : Options) (messages : MessageLog) (inputCtx : Parser.InputContext) (trustLevel : UInt32 := 0) (plugins : Array System.FilePath := #[]) (leakEnv : Bool := false) (mainModule : Name := Name.anonymous) :

    Elaborates the given header syntax into an environment.

    If mainModule is not given, Environment.setMainModule should be called manually. This is a backwards compatibility measure not compatible with the module system.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        @[export lean_print_imports]
        def Lean.Elab.printImports (input : String) (fileName : Option String) :
        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          @[export lean_print_import_srcs]
          def Lean.Elab.printImportSrcs (input : String) (fileName : Option String) :
          Equations
          • One or more equations did not get rendered due to their size.
          Instances For