finishDot method

Token finishDot()

Implementation

Token finishDot() {
  if (TokenizerHelpers.isDigit(_peekChar())) {
    eatDigits();
    return finishNumberExtra(TokenKind.DOUBLE);
  } else {
    return _finishToken(TokenKind.DOT);
  }
}