File: .lake/packages/lean4/src/lean/Lean/Data/Parsec.lean

full_name: Lean.Parsec.instReprParseResult
code: inductive ParseResult (α : Type) where
  | success (pos : String.Iterator) (res : α)
  | error (pos : String.Iterator) (err : String)
  deriving Repr
goal: {α : Type} → [inst : Repr α] → Repr (Lean.Parsec.ParseResult α)

full_name: Lean.Parsec.ParseResult
code: inductive ParseResult (α : Type) where
  | success (pos : String.Iterator) (res : α)
  | error (pos : String.Iterator) (err : String)
  deriving Repr
goal: Type

full_name: Lean.Parsec.ParseResult.success
code: inductive ParseResult (α : Type) where
  | success (pos : String.Iterator) (res : α)
  | error (pos : String.Iterator) (err : String)
  deriving Repr
goal: Lean.Parsec.ParseResult α

full_name: Lean.Parsec.ParseResult.error
code: inductive ParseResult (α : Type) where
  | success (pos : String.Iterator) (res : α)
  | error (pos : String.Iterator) (err : String)
  deriving Repr
goal: Lean.Parsec.ParseResult α

full_name: Lean.Parsec
code: def Parsec (α : Type) : Type 
goal: Type

full_name: Lean.Parsec.instInhabited
code: instance (α : Type) : Inhabited (Parsec α) 
goal: Inhabited (Lean.Parsec α)

full_name: Lean.Parsec.pure
code: @[inline]
protected def pure (a : α) : Parsec α 
goal: Lean.Parsec α

full_name: Lean.Parsec.bind
code: @[inline]
def bind {α β : Type} (f : Parsec α) (g : α → Parsec β) : Parsec β 
goal: Lean.Parsec β

full_name: Lean.Parsec.instMonad
code: instance : Monad Parsec 
goal: Monad Lean.Parsec

full_name: Lean.Parsec.fail
code: @[inline]
def fail (msg : String) : Parsec α 
goal: Lean.Parsec α

full_name: Lean.Parsec.tryCatch
code: @[inline]
def tryCatch (p : Parsec α)
    (csuccess : α → Parsec β)
    (cerror : Unit → Parsec β)
    : Parsec β 
goal: Lean.Parsec β

full_name: Lean.Parsec.orElse
code: @[inline]
def orElse (p : Parsec α) (q : Unit → Parsec α) : Parsec α 
goal: Lean.Parsec α

full_name: Lean.Parsec.attempt
code: @[inline]
def attempt (p : Parsec α) : Parsec α 
goal: Lean.Parsec α

full_name: Lean.Parsec.instAlternative
code: instance : Alternative Parsec 
goal: Alternative Lean.Parsec

full_name: Lean.Parsec.run
code: protected def run (p : Parsec α) (s : String) : Except String α 
goal: Except String α

full_name: Lean.Parsec.expectedEndOfInput
code: def expectedEndOfInput 
goal: String

full_name: Lean.Parsec.eof
code: @[inline]
def eof : Parsec Unit 
goal: Lean.Parsec Unit

full_name: Lean.Parsec.manyCore
code: @[specialize]
partial def manyCore (p : Parsec α) (acc : Array α) : Parsec $ Array α 
goal: Lean.Parsec (Array α)

full_name: Lean.Parsec.many
code: @[inline]
def many (p : Parsec α) : Parsec $ Array α 
goal: Lean.Parsec (Array α)

full_name: Lean.Parsec.many1
code: @[inline]
def many1 (p : Parsec α) : Parsec $ Array α 
goal: Lean.Parsec (Array α)

full_name: Lean.Parsec.manyCharsCore
code: @[specialize]
partial def manyCharsCore (p : Parsec Char) (acc : String) : Parsec String 
goal: Lean.Parsec String

full_name: Lean.Parsec.manyChars
code: @[inline]
def manyChars (p : Parsec Char) : Parsec String 
goal: Lean.Parsec String

full_name: Lean.Parsec.many1Chars
code: @[inline]
def many1Chars (p : Parsec Char) : Parsec String 
goal: Lean.Parsec String

full_name: Lean.Parsec.pstring
code: /-- Parses the given string. -/
def pstring (s : String) : Parsec String 
goal: Lean.Parsec String

full_name: Lean.Parsec.skipString
code: @[inline]
def skipString (s : String) : Parsec Unit 
goal: Lean.Parsec Unit

full_name: Lean.Parsec.unexpectedEndOfInput
code: def unexpectedEndOfInput 
goal: String

full_name: Lean.Parsec.anyChar
code: @[inline]
def anyChar : Parsec Char 
goal: Lean.Parsec Char

full_name: Lean.Parsec.pchar
code: @[inline]
def pchar (c : Char) : Parsec Char 
goal: Lean.Parsec Char

full_name: Lean.Parsec.skipChar
code: @[inline]
def skipChar (c : Char) : Parsec Unit 
goal: Lean.Parsec Unit

full_name: Lean.Parsec.digit
code: @[inline]
def digit : Parsec Char 
goal: Lean.Parsec Char

full_name: Lean.Parsec.hexDigit
code: @[inline]
def hexDigit : Parsec Char 
goal: Lean.Parsec Char

full_name: Lean.Parsec.asciiLetter
code: @[inline]
def asciiLetter : Parsec Char 
goal: Lean.Parsec Char

full_name: Lean.Parsec.satisfy
code: @[inline]
def satisfy (p : Char → Bool) : Parsec Char 
goal: Lean.Parsec Char

full_name: Lean.Parsec.notFollowedBy
code: @[inline]
def notFollowedBy (p : Parsec α) : Parsec Unit 
goal: Lean.Parsec Unit

full_name: Lean.Parsec.skipWs
code: partial def skipWs (it : String.Iterator) : String.Iterator 
goal: String.Iterator

full_name: Lean.Parsec.peek?
code: @[inline]
def peek? : Parsec (Option Char) 
goal: Lean.Parsec (Option Char)

full_name: Lean.Parsec.peek!
code: @[inline]
def peek! : Parsec Char 
goal: Lean.Parsec Char

full_name: Lean.Parsec.skip
code: @[inline]
def skip : Parsec Unit 
goal: Lean.Parsec Unit

full_name: Lean.Parsec.ws
code: @[inline]
def ws : Parsec Unit 
goal: Lean.Parsec Unit