The grammar for a subset of XML. Used https://cs.lmu.edu/~ray/notes/xmlgrammar/ as a reference.
class markup grammar
implicit import ideallibrarypatterns
implicit import idealruntimepatterns
character handler the character handler
dictionary[string, element id] element ids
dictionary[string, attribute id] attribute ids
dictionary[string, special text] entities
var matcher[character, text element] document matcher
var matcher[character, special text] entity ref
var matcher[character, string] quot attr value
var matcher[character, string] apos attr value
var matcher[character, attribute fragment] attribute value in quot
var matcher[character, attribute fragment] attribute value in apos
var matcher[character, attribute state] attribute
var option matcher[character, text element] element
var matcher[character, text element] empty element
var matcher[character, text fragment] content
var markup parser parser
public void complete()
protected boolean name start(character c) pure
protected boolean name char(character c) pure
protected boolean content char(character c) pure
string select end tag(readonly list[any value] the list) pure
text fragment join2(readonly list[any value] the list) pure