document method Null safety

Parser document()

Implementation

Parser document() => ref0(declaration)
    .optional()
    .seq(ref0(misc))
    .seq(ref0(doctype).optional())
    .seq(ref0(misc))
    .seq(ref0(element))
    .seq(ref0(misc));