comment method

Parser comment()

Implementation

Parser comment() => XmlToken.openComment
    .toParser()
    .seq(any()
        .starLazy(XmlToken.closeComment.toParser())
        .flatten('Expected comment content'))
    .seq(XmlToken.closeComment.toParser());