isSuperselector method
Whether this is a superselector of other
.
That is, whether this matches every element that other
matches, as well
as possibly additional elements.
Implementation
bool isSuperselector(SimpleSelector other) =>
super.isSuperselector(other) ||
(other is TypeSelector &&
name.name == other.name.name &&
(name.namespace == '*' || name.namespace == other.name.namespace));