operator + method
Implementation
@override
XPathNumeric operator +(XPathNumeric other) => switch (other) {
final XPathInteger i => XPathInteger(value + i.value),
final XPathDecimal d => toDecimal() + d,
final XPathDouble d => XPathDouble(toDouble() + d.value),
};