hasSameStructureAs method

  1. @visibleForTesting
bool hasSameStructureAs(
  1. NumericToken other
)

Implementation

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