receiveDot method
Receive a dot, indicating the user wants to compose a decimal constant value.
Implementation
@override
DartBlockValueTreeAlgebraicNode receiveDot() {
if (rightChild == null) {
if (operator != null) {
rightChild = DartBlockValueTreeAlgebraicConstantNode.init(
0,
true,
this,
);
} else {
leftChild?.receiveDot();
}
return this;
} else {
return rightChild!.receiveDot();
}
}