File: .lake/packages/lean4/src/lean/Lean/Data/Xml/Parser.lean

full_name: Lean.Xml.Parser.LeanChar
code: abbrev LeanChar 
goal: Type

full_name: Lean.Xml.Parser.endl
code: /-- consume a newline character sequence pretending, that we read '\n'. As per spec:
  https://www.w3.org/TR/xml/#sec-line-ends -/
def endl : Parsec LeanChar 
goal: Lean.Parsec Lean.Xml.Parser.LeanChar

full_name: Lean.Xml.Parser.quote
code: def quote (p : Parsec α) : Parsec α 
goal: Lean.Parsec α

full_name: Lean.Xml.Parser.Char
code: /-- https://www.w3.org/TR/xml/#NT-Char -/
def Char : Parsec LeanChar 
goal: Lean.Parsec Lean.Xml.Parser.LeanChar

full_name: Lean.Xml.Parser.S
code: /-- https://www.w3.org/TR/xml/#NT-S -/
def S : Parsec String 
goal: Lean.Parsec String

full_name: Lean.Xml.Parser.Eq
code: /-- https://www.w3.org/TR/xml/#NT-Eq -/
def Eq : Parsec Unit 
goal: Lean.Parsec Unit

full_name: _private.«.lake».packages.lean4.src.lean.Lean.Data.Xml.Parser.0.Lean.Xml.Parser.nameStartCharRanges
code: private def nameStartCharRanges : Array (Nat × Nat) 
goal: Array (Nat × Nat)

full_name: Lean.Xml.Parser.NameStartChar
code: /-- https://www.w3.org/TR/xml/#NT-NameStartChar -/
def NameStartChar : Parsec LeanChar 
goal: Lean.Parsec Lean.Xml.Parser.LeanChar

full_name: Lean.Xml.Parser.NameChar
code: /-- https://www.w3.org/TR/xml/#NT-NameChar -/
def NameChar : Parsec LeanChar 
goal: Lean.Parsec Lean.Xml.Parser.LeanChar

full_name: Lean.Xml.Parser.Name
code: /-- https://www.w3.org/TR/xml/#NT-Name -/
def Name : Parsec String 
goal: Lean.Parsec String

full_name: Lean.Xml.Parser.VersionNum
code: /-- https://www.w3.org/TR/xml/#NT-VersionNum -/
def VersionNum : Parsec Unit 
goal: Lean.Parsec Unit

full_name: Lean.Xml.Parser.VersionInfo
code: /-- https://www.w3.org/TR/xml/#NT-VersionInfo -/
def VersionInfo : Parsec Unit 
goal: Lean.Parsec Unit

full_name: Lean.Xml.Parser.EncName
code: /-- https://www.w3.org/TR/xml/#NT-EncName -/
def EncName : Parsec String 
goal: Lean.Parsec String

full_name: Lean.Xml.Parser.EncodingDecl
code: /-- https://www.w3.org/TR/xml/#NT-EncodingDecl -/
def EncodingDecl : Parsec String 
goal: Lean.Parsec String

full_name: Lean.Xml.Parser.SDDecl
code: /-- https://www.w3.org/TR/xml/#NT-SDDecl -/
def SDDecl : Parsec String 
goal: Lean.Parsec String

full_name: Lean.Xml.Parser.XMLdecl
code: /-- https://www.w3.org/TR/xml/#NT-XMLDecl -/
def XMLdecl : Parsec Unit 
goal: Lean.Parsec Unit

full_name: Lean.Xml.Parser.Comment
code: /-- https://www.w3.org/TR/xml/#NT-Comment -/
def Comment : Parsec String 
goal: Lean.Parsec String

full_name: Lean.Xml.Parser.PITarget
code: /-- https://www.w3.org/TR/xml/#NT-PITarget -/
def PITarget : Parsec String 
goal: Lean.Parsec String

full_name: Lean.Xml.Parser.PI
code: /-- https://www.w3.org/TR/xml/#NT-PI -/
def PI : Parsec Unit 
goal: Lean.Parsec Unit

full_name: Lean.Xml.Parser.Misc
code: /-- https://www.w3.org/TR/xml/#NT-Misc -/
def Misc : Parsec Unit 
goal: Lean.Parsec Unit

full_name: Lean.Xml.Parser.SystemLiteral
code: /-- https://www.w3.org/TR/xml/#NT-SystemLiteral -/
def SystemLiteral : Parsec String 
goal: Lean.Parsec String

full_name: Lean.Xml.Parser.PubidChar
code: /-- https://www.w3.org/TR/xml/#NT-PubidChar -/
def PubidChar : Parsec LeanChar 
goal: Lean.Parsec Lean.Xml.Parser.LeanChar

full_name: Lean.Xml.Parser.PubidLiteral
code: /-- https://www.w3.org/TR/xml/#NT-PubidLiteral -/
def PubidLiteral : Parsec String 
goal: Lean.Parsec String

full_name: Lean.Xml.Parser.ExternalID
code: /-- https://www.w3.org/TR/xml/#NT-ExternalID -/
def ExternalID : Parsec Unit 
goal: Lean.Parsec Unit

full_name: Lean.Xml.Parser.Mixed
code: /-- https://www.w3.org/TR/xml/#NT-Mixed -/
def Mixed : Parsec Unit 
goal: Lean.Parsec Unit

full_name: Lean.Xml.Parser.children
code: /-- https://www.w3.org/TR/xml/#NT-children -/
def children : Parsec Unit 
goal: Lean.Parsec Unit

full_name: Lean.Xml.Parser.contentspec
code: /-- https://www.w3.org/TR/xml/#NT-contentspec -/
def contentspec : Parsec Unit 
goal: Lean.Parsec Unit

full_name: Lean.Xml.Parser.elementDecl
code: /-- https://www.w3.org/TR/xml/#NT-elementdecl -/
def elementDecl : Parsec Unit 
goal: Lean.Parsec Unit

full_name: Lean.Xml.Parser.StringType
code: /-- https://www.w3.org/TR/xml/#NT-StringType -/
def StringType : Parsec Unit 
goal: Lean.Parsec Unit

full_name: Lean.Xml.Parser.TokenizedType
code: /-- https://www.w3.org/TR/xml/#NT-TokenizedType -/
def TokenizedType : Parsec Unit 
goal: Lean.Parsec Unit

full_name: Lean.Xml.Parser.NotationType
code: /-- https://www.w3.org/TR/xml/#NT-NotationType -/
def NotationType : Parsec Unit 
goal: Lean.Parsec Unit

full_name: Lean.Xml.Parser.Nmtoken
code: /-- https://www.w3.org/TR/xml/#NT-Nmtoken -/
def Nmtoken : Parsec String 
goal: Lean.Parsec String

full_name: Lean.Xml.Parser.Enumeration
code: /-- https://www.w3.org/TR/xml/#NT-Enumeration -/
def Enumeration : Parsec Unit 
goal: Lean.Parsec Unit

full_name: Lean.Xml.Parser.EnumeratedType
code: /-- https://www.w3.org/TR/xml/#NT-EnumeratedType -/
def EnumeratedType : Parsec Unit 
goal: Lean.Parsec Unit

full_name: Lean.Xml.Parser.AttType
code: /-- https://www.w3.org/TR/xml/#NT-AttType -/
def AttType : Parsec Unit 
goal: Lean.Parsec Unit

full_name: Lean.Xml.Parser.predefinedEntityToChar
code: def predefinedEntityToChar : String → Option LeanChar

goal: String → Option Lean.Xml.Parser.LeanChar

full_name: Lean.Xml.Parser.EntityRef
code: /-- https://www.w3.org/TR/xml/#NT-EntityRef -/
def EntityRef : Parsec $ Option LeanChar 
goal: Lean.Parsec (Option Lean.Xml.Parser.LeanChar)

full_name: Lean.Xml.Parser.hexDigitToNat
code: @[inline]
def hexDigitToNat (c : LeanChar) : Nat 
goal: Nat

full_name: Lean.Xml.Parser.digitsToNat
code: def digitsToNat (base : Nat) (digits : Array Nat) : Nat 
goal: Nat

full_name: Lean.Xml.Parser.CharRef
code: /-- https://www.w3.org/TR/xml/#NT-CharRef -/
def CharRef : Parsec LeanChar 
goal: Lean.Parsec Lean.Xml.Parser.LeanChar

full_name: Lean.Xml.Parser.Reference
code: /-- https://www.w3.org/TR/xml/#NT-Reference -/
def Reference : Parsec $ Option LeanChar 
goal: Lean.Parsec (Option Lean.Xml.Parser.LeanChar)

full_name: Lean.Xml.Parser.AttValue
code: /-- https://www.w3.org/TR/xml/#NT-AttValue -/
def AttValue : Parsec String 
goal: Lean.Parsec String

full_name: Lean.Xml.Parser.DefaultDecl
code: /-- https://www.w3.org/TR/xml/#NT-DefaultDecl -/
def DefaultDecl : Parsec Unit 
goal: Lean.Parsec Unit

full_name: Lean.Xml.Parser.AttDef
code: /-- https://www.w3.org/TR/xml/#NT-AttDef -/
def AttDef : Parsec Unit 
goal: Lean.Parsec Unit

full_name: Lean.Xml.Parser.AttlistDecl
code: /-- https://www.w3.org/TR/xml/#NT-AttlistDecl -/
def AttlistDecl : Parsec Unit 
goal: Lean.Parsec Unit

full_name: Lean.Xml.Parser.PEReference
code: /-- https://www.w3.org/TR/xml/#NT-PEReference -/
def PEReference : Parsec Unit 
goal: Lean.Parsec Unit

full_name: Lean.Xml.Parser.EntityValue
code: /-- https://www.w3.org/TR/xml/#NT-EntityValue -/
def EntityValue : Parsec String 
goal: Lean.Parsec String

full_name: Lean.Xml.Parser.NDataDecl
code: /-- https://www.w3.org/TR/xml/#NT-NDataDecl -/
def NDataDecl : Parsec Unit 
goal: Lean.Parsec Unit

full_name: Lean.Xml.Parser.EntityDef
code: /-- https://www.w3.org/TR/xml/#NT-EntityDef -/
def EntityDef : Parsec Unit 
goal: Lean.Parsec Unit

full_name: Lean.Xml.Parser.GEDecl
code: /-- https://www.w3.org/TR/xml/#NT-GEDecl -/
def GEDecl : Parsec Unit 
goal: Lean.Parsec Unit

full_name: Lean.Xml.Parser.PEDef
code: /-- https://www.w3.org/TR/xml/#NT-PEDef -/
def PEDef : Parsec Unit 
goal: Lean.Parsec Unit

full_name: Lean.Xml.Parser.PEDecl
code: /-- https://www.w3.org/TR/xml/#NT-PEDecl -/
def PEDecl : Parsec Unit 
goal: Lean.Parsec Unit

full_name: Lean.Xml.Parser.EntityDecl
code: /-- https://www.w3.org/TR/xml/#NT-EntityDecl -/
def EntityDecl : Parsec Unit 
goal: Lean.Parsec Unit

full_name: Lean.Xml.Parser.PublicID
code: /-- https://www.w3.org/TR/xml/#NT-PublicID -/
def PublicID : Parsec Unit 
goal: Lean.Parsec Unit

full_name: Lean.Xml.Parser.NotationDecl
code: /-- https://www.w3.org/TR/xml/#NT-NotationDecl -/
def NotationDecl : Parsec Unit 
goal: Lean.Parsec Unit

full_name: Lean.Xml.Parser.markupDecl
code: /-- https://www.w3.org/TR/xml/#NT-markupdecl -/
def markupDecl : Parsec Unit 
goal: Lean.Parsec Unit

full_name: Lean.Xml.Parser.DeclSep
code: /-- https://www.w3.org/TR/xml/#NT-DeclSep -/
def DeclSep : Parsec Unit 
goal: Lean.Parsec Unit

full_name: Lean.Xml.Parser.intSubset
code: /-- https://www.w3.org/TR/xml/#NT-intSubset -/
def intSubset : Parsec Unit 
goal: Lean.Parsec Unit

full_name: Lean.Xml.Parser.doctypedecl
code: /-- https://www.w3.org/TR/xml/#NT-doctypedecl -/
def doctypedecl : Parsec Unit 
goal: Lean.Parsec Unit

full_name: Lean.Xml.Parser.prolog
code: /-- https://www.w3.org/TR/xml/#NT-prolog -/
def prolog : Parsec Unit 
goal: Lean.Parsec Unit

full_name: Lean.Xml.Parser.Attribute
code: /-- https://www.w3.org/TR/xml/#NT-Attribute -/
def Attribute : Parsec (String × String) 
goal: Lean.Parsec (String × String)

full_name: Lean.Xml.Parser.elementPrefix
code: protected def elementPrefix : Parsec (Array Content → Element) 
goal: Lean.Parsec (Array Lean.Xml.Content → Lean.Xml.Element)

full_name: Lean.Xml.Parser.EmptyElemTag
code: /-- https://www.w3.org/TR/xml/#NT-EmptyElemTag -/
def EmptyElemTag (elem : Array Content → Element) : Parsec Element 
goal: Lean.Parsec Lean.Xml.Element

full_name: Lean.Xml.Parser.STag
code: /-- https://www.w3.org/TR/xml/#NT-STag -/
def STag (elem : Array Content → Element) : Parsec (Array Content → Element) 
goal: Lean.Parsec (Array Lean.Xml.Content → Lean.Xml.Element)

full_name: Lean.Xml.Parser.ETag
code: /-- https://www.w3.org/TR/xml/#NT-ETag -/
def ETag : Parsec Unit 
goal: Lean.Parsec Unit

full_name: Lean.Xml.Parser.CDStart
code: /-- https://www.w3.org/TR/xml/#NT-CDStart -/
def CDStart : Parsec Unit 
goal: Lean.Parsec Unit

full_name: Lean.Xml.Parser.CDEnd
code: /-- https://www.w3.org/TR/xml/#NT-CDEnd -/
def CDEnd : Parsec Unit 
goal: Lean.Parsec Unit

full_name: Lean.Xml.Parser.CData
code: /-- https://www.w3.org/TR/xml/#NT-CData -/
def CData : Parsec String 
goal: Lean.Parsec String

full_name: Lean.Xml.Parser.CDSect
code: /-- https://www.w3.org/TR/xml/#NT-CDSect -/
def CDSect : Parsec String 
goal: Lean.Parsec String

full_name: Lean.Xml.Parser.CharData
code: /-- https://www.w3.org/TR/xml/#NT-CharData -/
def CharData : Parsec String 
goal: Lean.Parsec String

full_name: Lean.Xml.Parser.document
code: /-- https://www.w3.org/TR/xml/#NT-document -/
def document : Parsec Element 
goal: Lean.Parsec Lean.Xml.Element

full_name: Lean.Xml.parse
code: def parse (s : String) : Except String Element 
goal: Except String Lean.Xml.Element