scanExactNumericLiteral method

dynamic scanExactNumericLiteral()

Implementation

scanExactNumericLiteral() {
  if (isDot(cur)) {
    if (!advance()) return;
    scanUnsignedInteger();
  } else if (isDigit(cur)) {
    scanUnsignedInteger();
    if (eos) return;
    if (isDot(cur)) {
      if (!advance()) return;
      scanUnsignedInteger();
    }
  }
}