update some comments from XML to Xml

This commit is contained in:
erik-krogh
2022-08-19 15:40:29 +02:00
parent ce9f69a639
commit 1a89ddae5d
5 changed files with 10 additions and 10 deletions

View File

@@ -36,12 +36,12 @@ class XmlLocatable extends @xmllocatable, TXmlLocatable {
deprecated class XMLLocatable = XmlLocatable;
/**
* An `XMLParent` is either an `XMLElement` or an `XMLFile`,
* An `XmlParent` is either an `XmlElement` or an `XmlFile`,
* both of which can contain other elements.
*/
class XmlParent extends @xmlparent {
XmlParent() {
// explicitly restrict `this` to be either an `XMLElement` or an `XMLFile`;
// explicitly restrict `this` to be either an `XmlElement` or an `XmlFile`;
// the type `@xmlparent` currently also includes non-XML files
this instanceof @xmlelement or xmlEncoding(this, _)
}