visitBinaryExpression method

  1. @override
bool visitBinaryExpression (
  1. BinaryExpression node
)
override

Implementation

@override
bool visitBinaryExpression(BinaryExpression node) {
  if (identical(node.leftOperand, _oldNode)) {
    node.leftOperand = _newNode as Expression;
    return true;
  } else if (identical(node.rightOperand, _oldNode)) {
    node.rightOperand = _newNode as Expression;
    return true;
  }
  return visitNode(node);
}