receiveDot method

  1. @override
DartBlockValueTreeAlgebraicNode receiveDot()
override

Receive a dot, indicating the user wants to compose a decimal constant value.

Implementation

@override
DartBlockValueTreeAlgebraicNode receiveDot() {
  if (!hasPendingDot && (value is int || value == value.roundToDouble())) {
    hasPendingDot = true;
  }

  return this;
}