processing method Null safety

Parser processing()

Implementation

Parser processing() => XmlToken.openProcessing
    .toParser()
    .seq(ref0(nameToken))
    .seq(ref0(space)
        .seq(any()
            .starLazy(XmlToken.closeProcessing.toParser())
            .flatten('Expected processing instruction content'))
        .pick(1)
        .optionalWith(''))
    .seq(XmlToken.closeProcessing.toParser());