doctypeProd method
Parser<List>
doctypeProd(
)
Implementation
Parser<List<dynamic>> doctypeProd() => XmlToken.openDoctype
.toParser()
.seq(ref0<dynamic>(spaceProd))
.seq(ref0<dynamic>(nameTokenProd)
.or(ref0<dynamic>(attributeValueProd))
.or(XmlToken.openDoctypeBlock
.toParser()
.seq(any().starLazy(XmlToken.closeDoctypeBlock.toParser()))
.seq(XmlToken.closeDoctypeBlock.toParser()))
.separatedBy<dynamic>(ref0<dynamic>(spaceOptionalProd))
.flatten('Expected doctype content'))
.seq(ref0<dynamic>(spaceOptionalProd))
.seq(XmlToken.closeDoctype.toParser());