Documentation

Lean.Elab.Import

@[reducible, inline]
Instances For
    Instances For
      @[reducible, inline]
      abbrev Lean.Elab.headerToImports (stx : HeaderSyntax) (includeInit : Bool := true) :
      Instances For
        def Lean.Elab.processHeaderCore (startPos : String.Pos.Raw) (imports : Array Import) (isModule : Bool) (opts : Options) (messages : MessageLog) (inputCtx : Parser.InputContext) (trustLevel : UInt32 := 0) (plugins : Array System.FilePath := #[]) (leakEnv : Bool := false) (mainModule : Name := Name.anonymous) (package? : Option PkgId := none) (arts : NameMap ImportArtifacts := ) :
        Instances For
          @[inline]
          def Lean.Elab.processHeader (header : HeaderSyntax) (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.

          Instances For
            Instances For
              def Lean.Elab.printImports (input : String) (fileName : Option String) :
              Instances For
                def Lean.Elab.printImportSrcs (input : String) (fileName : Option String) :
                Instances For