Documentation

Regex.Data.BoundedIterator

structure Regex.Data.BoundedIterator (startIdx maxIdx : Nat) :
Instances For
    theorem Regex.Data.BoundedIterator.ext {startIdx maxIdx : Nat} {x y : BoundedIterator startIdx maxIdx} (it : x.it = y.it) :
    x = y
    theorem Regex.Data.BoundedIterator.ext_iff {startIdx maxIdx : Nat} {x y : BoundedIterator startIdx maxIdx} :
    x = y x.it = y.it
    def Regex.Data.BoundedIterator.toString {startIdx maxIdx : Nat} (bit : BoundedIterator startIdx maxIdx) :
    Equations
    Instances For
      def Regex.Data.BoundedIterator.pos {startIdx maxIdx : Nat} (bit : BoundedIterator startIdx maxIdx) :
      Equations
      Instances For
        def Regex.Data.BoundedIterator.index {startIdx maxIdx : Nat} (bit : BoundedIterator startIdx maxIdx) :
        Fin (maxIdx + 1 - startIdx)
        Equations
        Instances For
          def Regex.Data.BoundedIterator.hasNext {startIdx maxIdx : Nat} (bit : BoundedIterator startIdx maxIdx) :
          Equations
          Instances For
            def Regex.Data.BoundedIterator.next {startIdx maxIdx : Nat} (bit : BoundedIterator startIdx maxIdx) (h : bit.hasNext = true) :
            BoundedIterator startIdx maxIdx
            Equations
            • bit.next h = { it := bit.it.next' h, ge := , le := , eq := }
            Instances For
              def Regex.Data.BoundedIterator.nextn {startIdx maxIdx : Nat} (bit : BoundedIterator startIdx maxIdx) (n : Nat) :
              BoundedIterator startIdx maxIdx
              Equations
              Instances For
                def Regex.Data.BoundedIterator.toEnd {startIdx maxIdx : Nat} (bit : BoundedIterator startIdx maxIdx) :
                BoundedIterator startIdx maxIdx
                Equations
                Instances For
                  def Regex.Data.BoundedIterator.curr {startIdx maxIdx : Nat} (bit : BoundedIterator startIdx maxIdx) (h : bit.hasNext = true) :
                  Equations
                  Instances For
                    def Regex.Data.BoundedIterator.remainingBytes {startIdx maxIdx : Nat} (bit : BoundedIterator startIdx maxIdx) :
                    Equations
                    Instances For
                      theorem Regex.Data.BoundedIterator.next_remainingBytes_lt {startIdx maxIdx : Nat} (bit : BoundedIterator startIdx maxIdx) (h : bit.hasNext = true) :
                      def Regex.Data.BoundedIterator.Valid {startIdx maxIdx : Nat} (bit : BoundedIterator startIdx maxIdx) :
                      Equations
                      Instances For