Documentation

Parser.Error

class Parser.Error (ε : Type u_1) (σ : Type u_2) (τ : outParam (Type u_3)) [Parser.Stream σ τ] :
Type (max (max u_1 u_3) u_4)

Parser error class

Instances
    @[reducible, inline]

    Trivial error type

    Equations
    Instances For
      instance Parser.Error.instTrivial (σ : Type u_1) (τ : Type u_2) [Parser.Stream σ τ] :
      Equations
      • One or more equations did not get rendered due to their size.
      @[reducible, inline]
      abbrev Parser.Error.Basic (σ : Type u_1) (τ : Type u_2) [Parser.Stream σ τ] :
      Type (max u_3 u_2)

      Basic error type

      Equations
      Instances For
        instance Parser.Error.instBasic (σ : Type u_1) (τ : Type u_2) [Parser.Stream σ τ] :
        Parser.Error (Basic σ τ) σ τ
        Equations
        • One or more equations did not get rendered due to their size.
        instance Parser.Error.instToStringBasicOfReprPosition (σ : Type u_1) (τ : Type u_2) [Repr τ] [Parser.Stream σ τ] [Repr (Stream.Position σ)] :
        ToString (Basic σ τ)
        Equations
        • One or more equations did not get rendered due to their size.
        inductive Parser.Error.Simple (σ : Type u_1) (τ : Type u_2) [Parser.Stream σ τ] :
        Type (max u_2 u_3)

        Simple error type

        Instances For
          instance Parser.Error.instSimple (σ : Type u_1) (τ : Type u_2) [Parser.Stream σ τ] :
          Parser.Error (Simple σ τ) σ τ
          Equations