Documentation

Regex.Data.Parsec.Basic

Parser utils for ReaderT and StateT

extends Lean.Parser.attempt

Equations
  • One or more equations did not get rendered due to their size.
Instances For
    Equations
    • Parser.instHOrElseParserReaderTStateT_regex = { hOrElse := Parser.orElseT }

    extends Lean.Parser.tryCatch

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

      extends Lean.Parser.many

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

                      exec check on current char

                      Equations
                      Instances For

                        exec check on current char and consume char on success

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

                          exec check on current char and skip char on success

                          Equations
                          Instances For
                            def Parser.tryCharThen {α : Type} (check : CharBool) (f : Charα) (msg : String := "") :

                            exec check on current char and then exec f on consumed char on success

                            Equations
                            Instances For
                              def Parser.tryCharMap {α : Type} (check : CharBool) (f : Charα) :

                              exec check on current char and map f on consumed char on success

                              Equations
                              Instances For

                                exec check on current char and then exec p on success

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

                                  exec check on current char and then exec p on success

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