matchesItem method
Whether the item matches this type.
Implementation
@override
bool matchesItem(XPathItem item) {
if (item is! XPathArray) return false;
if (memberType == xsSequence || memberType == xsItem) return true;
return item.members.every(memberType.matchesSequence);
}