entry method

Parser<BibTeXEntry> entry()

Implementation

Parser<BibTeXEntry> entry() => seq6(type.trim(), char('{').trim(),
        citeKey.trim(), char(',').trim(), ref0(fields), char('}').trim())
    .map6((type, _, key, __, fields, ___) =>
        BibTeXEntry(type: type, key: key, fields: fields));