Equations
Instances For
consume a newline character sequence pretending, that we read '\n'. As per spec: https://www.w3.org/TR/xml/#sec-line-ends
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
https://www.w3.org/TR/xml/#NT-Char
Equations
- One or more equations did not get rendered due to their size.
Instances For
https://www.w3.org/TR/xml/#NT-S
Equations
- Lean.Xml.Parser.S = Lean.Parsec.many1Chars (HOrElse.hOrElse (Lean.Parsec.pchar ' ') fun (x : Unit) => HOrElse.hOrElse Lean.Xml.Parser.endl fun (x : Unit) => Lean.Parsec.pchar '\t')
Instances For
https://www.w3.org/TR/xml/#NT-Eq
Equations
- Lean.Xml.Parser.Eq = SeqLeft.seqLeft (SeqRight.seqRight (optional Lean.Xml.Parser.S) fun (x : Unit) => Lean.Parsec.skipChar '=') fun (x : Unit) => optional Lean.Xml.Parser.S
Instances For
https://www.w3.org/TR/xml/#NT-NameStartChar
Equations
- One or more equations did not get rendered due to their size.
Instances For
https://www.w3.org/TR/xml/#NT-NameChar
Equations
- One or more equations did not get rendered due to their size.
Instances For
https://www.w3.org/TR/xml/#NT-Name
Equations
Instances For
https://www.w3.org/TR/xml/#NT-VersionNum
Equations
- Lean.Xml.Parser.VersionNum = SeqLeft.seqLeft (Lean.Parsec.skipString "1.") fun (x : Unit) => Lean.Parsec.many1 Lean.Parsec.digit
Instances For
https://www.w3.org/TR/xml/#NT-VersionInfo
Equations
- One or more equations did not get rendered due to their size.
Instances For
https://www.w3.org/TR/xml/#NT-EncName
Equations
- One or more equations did not get rendered due to their size.
Instances For
https://www.w3.org/TR/xml/#NT-EncodingDecl
Equations
- One or more equations did not get rendered due to their size.
Instances For
https://www.w3.org/TR/xml/#NT-SDDecl
Equations
- One or more equations did not get rendered due to their size.
Instances For
https://www.w3.org/TR/xml/#NT-XMLDecl
Equations
- One or more equations did not get rendered due to their size.
Instances For
https://www.w3.org/TR/xml/#NT-Comment
Equations
- One or more equations did not get rendered due to their size.
Instances For
https://www.w3.org/TR/xml/#NT-PITarget
Equations
- One or more equations did not get rendered due to their size.
Instances For
https://www.w3.org/TR/xml/#NT-PI
Equations
- One or more equations did not get rendered due to their size.
Instances For
https://www.w3.org/TR/xml/#NT-Misc
Equations
- One or more equations did not get rendered due to their size.
Instances For
https://www.w3.org/TR/xml/#NT-SystemLiteral
Equations
- One or more equations did not get rendered due to their size.
Instances For
https://www.w3.org/TR/xml/#NT-PubidChar
Equations
- One or more equations did not get rendered due to their size.
Instances For
https://www.w3.org/TR/xml/#NT-PubidLiteral
Equations
- One or more equations did not get rendered due to their size.
Instances For
https://www.w3.org/TR/xml/#NT-ExternalID
Equations
- One or more equations did not get rendered due to their size.
Instances For
https://www.w3.org/TR/xml/#NT-Mixed
Equations
- One or more equations did not get rendered due to their size.
Instances For
https://www.w3.org/TR/xml/#NT-children
Equations
- One or more equations did not get rendered due to their size.
Instances For
https://www.w3.org/TR/xml/#NT-contentspec
Equations
- One or more equations did not get rendered due to their size.
Instances For
https://www.w3.org/TR/xml/#NT-elementdecl
Equations
- One or more equations did not get rendered due to their size.
Instances For
https://www.w3.org/TR/xml/#NT-StringType
Equations
Instances For
https://www.w3.org/TR/xml/#NT-TokenizedType
Equations
- One or more equations did not get rendered due to their size.
Instances For
https://www.w3.org/TR/xml/#NT-NotationType
Equations
- One or more equations did not get rendered due to their size.
Instances For
https://www.w3.org/TR/xml/#NT-Nmtoken
Instances For
https://www.w3.org/TR/xml/#NT-Enumeration
Equations
- One or more equations did not get rendered due to their size.
Instances For
https://www.w3.org/TR/xml/#NT-EnumeratedType
Equations
Instances For
https://www.w3.org/TR/xml/#NT-AttType
Equations
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
https://www.w3.org/TR/xml/#NT-EntityRef
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Lean.Xml.Parser.hexDigitToNat c = if '0' ≤ c ∧ c ≤ '9' then Char.toNat c - Char.toNat '0' else if 'a' ≤ c ∧ c ≤ 'f' then Char.toNat c - Char.toNat 'a' + 10 else Char.toNat c - Char.toNat 'A' + 10
Instances For
Equations
- Lean.Xml.Parser.digitsToNat base digits = Array.foldl (fun (r d : Nat) => r * base + d) 0 digits 0
Instances For
https://www.w3.org/TR/xml/#NT-CharRef
Equations
- One or more equations did not get rendered due to their size.
Instances For
https://www.w3.org/TR/xml/#NT-Reference
Equations
- Lean.Xml.Parser.Reference = HOrElse.hOrElse Lean.Xml.Parser.EntityRef fun (x : Unit) => some <$> Lean.Xml.Parser.CharRef
Instances For
https://www.w3.org/TR/xml/#NT-AttValue
Equations
- One or more equations did not get rendered due to their size.
Instances For
https://www.w3.org/TR/xml/#NT-DefaultDecl
Equations
- One or more equations did not get rendered due to their size.
Instances For
https://www.w3.org/TR/xml/#NT-AttDef
Equations
- One or more equations did not get rendered due to their size.
Instances For
https://www.w3.org/TR/xml/#NT-AttlistDecl
Equations
- One or more equations did not get rendered due to their size.
Instances For
https://www.w3.org/TR/xml/#NT-PEReference
Equations
- Lean.Xml.Parser.PEReference = SeqRight.seqRight (SeqRight.seqRight (Lean.Parsec.skipChar '%') fun (x : Unit) => Lean.Xml.Parser.Name) fun (x : Unit) => Lean.Parsec.skipChar ';'
Instances For
https://www.w3.org/TR/xml/#NT-EntityValue
Equations
- One or more equations did not get rendered due to their size.
Instances For
https://www.w3.org/TR/xml/#NT-NDataDecl
Equations
- One or more equations did not get rendered due to their size.
Instances For
https://www.w3.org/TR/xml/#NT-EntityDef
Equations
- One or more equations did not get rendered due to their size.
Instances For
https://www.w3.org/TR/xml/#NT-GEDecl
Equations
- One or more equations did not get rendered due to their size.
Instances For
https://www.w3.org/TR/xml/#NT-PEDef
Equations
- Lean.Xml.Parser.PEDef = HOrElse.hOrElse (SeqRight.seqRight Lean.Xml.Parser.EntityValue fun (x : Unit) => pure ()) fun (x : Unit) => Lean.Xml.Parser.ExternalID
Instances For
https://www.w3.org/TR/xml/#NT-PEDecl
Equations
- One or more equations did not get rendered due to their size.
Instances For
https://www.w3.org/TR/xml/#NT-EntityDecl
Equations
Instances For
https://www.w3.org/TR/xml/#NT-PublicID
Equations
- Lean.Xml.Parser.PublicID = SeqLeft.seqLeft (SeqLeft.seqLeft (Lean.Parsec.skipString "PUBLIC") fun (x : Unit) => Lean.Xml.Parser.S) fun (x : Unit) => Lean.Xml.Parser.PubidLiteral
Instances For
https://www.w3.org/TR/xml/#NT-NotationDecl
Equations
- One or more equations did not get rendered due to their size.
Instances For
https://www.w3.org/TR/xml/#NT-markupdecl
Equations
- One or more equations did not get rendered due to their size.
Instances For
https://www.w3.org/TR/xml/#NT-DeclSep
Equations
- Lean.Xml.Parser.DeclSep = HOrElse.hOrElse Lean.Xml.Parser.PEReference fun (x : Unit) => SeqRight.seqRight Lean.Xml.Parser.S fun (x : Unit) => pure ()
Instances For
https://www.w3.org/TR/xml/#NT-intSubset
Equations
- Lean.Xml.Parser.intSubset = SeqRight.seqRight (Lean.Parsec.many (HOrElse.hOrElse Lean.Xml.Parser.markupDecl fun (x : Unit) => Lean.Xml.Parser.DeclSep)) fun (x : Unit) => pure ()
Instances For
https://www.w3.org/TR/xml/#NT-doctypedecl
Equations
- One or more equations did not get rendered due to their size.
Instances For
https://www.w3.org/TR/xml/#NT-prolog
Equations
- One or more equations did not get rendered due to their size.
Instances For
https://www.w3.org/TR/xml/#NT-Attribute
Equations
- Lean.Xml.Parser.Attribute = do let name ← Lean.Xml.Parser.Name Lean.Xml.Parser.Eq let value ← Lean.Xml.Parser.AttValue pure (name, value)
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
https://www.w3.org/TR/xml/#NT-EmptyElemTag
Equations
- Lean.Xml.Parser.EmptyElemTag elem = SeqRight.seqRight (Lean.Parsec.skipString "/>") fun (x : Unit) => pure (elem #[])
Instances For
https://www.w3.org/TR/xml/#NT-STag
Equations
- Lean.Xml.Parser.STag elem = SeqRight.seqRight (Lean.Parsec.skipChar '>') fun (x : Unit) => pure elem
Instances For
https://www.w3.org/TR/xml/#NT-ETag
Equations
- One or more equations did not get rendered due to their size.
Instances For
https://www.w3.org/TR/xml/#NT-CDStart
Equations
- Lean.Xml.Parser.CDStart = Lean.Parsec.skipString "<![CDATA["
Instances For
https://www.w3.org/TR/xml/#NT-CDEnd
Equations
Instances For
https://www.w3.org/TR/xml/#NT-CData
Equations
Instances For
https://www.w3.org/TR/xml/#NT-CDSect
Equations
- Lean.Xml.Parser.CDSect = SeqLeft.seqLeft (SeqRight.seqRight Lean.Xml.Parser.CDStart fun (x : Unit) => Lean.Xml.Parser.CData) fun (x : Unit) => Lean.Xml.Parser.CDEnd
Instances For
https://www.w3.org/TR/xml/#NT-CharData
Equations
- One or more equations did not get rendered due to their size.
Instances For
https://www.w3.org/TR/xml/#NT-content
https://www.w3.org/TR/xml/#NT-element
https://www.w3.org/TR/xml/#NT-document
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.