receiveNumberComparisonOperator method
DartBlockValueTreeBooleanNode
receiveNumberComparisonOperator(
- DartBlockNumberComparisonOperator operator
override
Implementation
@override
DartBlockValueTreeBooleanNode receiveNumberComparisonOperator(
DartBlockNumberComparisonOperator operator,
) {
/// If the right child is null and the left child is not, add or replace
/// the current operator with the incoming operator.
if (rightChild == null && leftChild != null) {
this.operator = operator;
return this;
} else {
return super.receiveNumberComparisonOperator(operator);
}
}