doctype method

  1. @override
Parser<XmlDoctypeNaturalImpl> doctype()
override

Implementation

@override
Parser<XmlDoctypeNaturalImpl> doctype() => doctypeProd().token().map((a) {
      final each = a.value;
      return XmlDoctypeNaturalImpl(
        _range(a),
        each[2] as String,
      );
    });