hasSameStructureAs method
Implementation
@visibleForTesting
bool hasSameStructureAs(NumericToken other) {
return other.digitsBeforeDecimal == digitsBeforeDecimal &&
other.hasDecimalPoint == hasDecimalPoint &&
other.digitsAfterDecimal == digitsAfterDecimal &&
other.hexDigits == hexDigits &&
other.exponent == exponent;
}