Documentation

Lean.Elab.ParseImportsFast

Instances For
    @[inline]
    Equations
    • s.setPos pos = { imports := s.imports, pos := pos, error? := s.error? }
    Instances For
      @[inline]
      Equations
      • s.mkError msg = { imports := s.imports, pos := s.pos, error? := some msg }
      Instances For
        Equations
        • s.mkEOIError = s.mkError "unexpected end of input"
        Instances For
          @[inline]
          Equations
          • s.next input pos = { imports := s.imports, pos := input.next pos, error? := s.error? }
          Instances For
            @[inline]
            def Lean.ParseImports.State.next' (s : State) (input : String) (pos : String.Pos) (h : ¬input.atEnd pos = true) :
            Equations
            • s.next' input pos h = { imports := s.imports, pos := input.next' pos h, error? := s.error? }
            Instances For
              Equations
              Instances For
                @[specialize #[]]
                @[inline]
                Equations
                Instances For
                  @[inline]
                  Equations
                  Instances For
                    @[inline]
                    def Lean.ParseImports.keywordCore (k : String) (failure success : Parser) :
                    Equations
                    Instances For
                      @[specialize #[]]
                      partial def Lean.ParseImports.keywordCore.go (k : String) (failure success : Parser) (input : String) (s : State) (i j : String.Pos) :
                      @[inline]
                      Equations
                      • One or more equations did not get rendered due to their size.
                      Instances For
                        @[inline]
                        Equations
                        • One or more equations did not get rendered due to their size.
                        Instances For
                          def Lean.ParseImports.State.pushModule (module : Name) (runtimeOnly : Bool) (s : State) :
                          Equations
                          Instances For
                            @[inline]
                            Equations
                            Instances For
                              @[inline]
                              Equations
                              Instances For
                                Equations
                                Instances For
                                  partial def Lean.ParseImports.moduleIdent.parse (runtimeOnly : Bool) (input : String) (module : Name) (s : State) :
                                  @[specialize #[]]
                                  @[inline]
                                  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
                                      def Lean.parseImports' (input fileName : String) :

                                      Simpler and faster version of parseImports. We use it to implement Lake.

                                      Equations
                                      • One or more equations did not get rendered due to their size.
                                      Instances For
                                        Instances For
                                          @[export lean_print_imports_json]
                                          Equations
                                          • One or more equations did not get rendered due to their size.
                                          Instances For