visitCascadeExpression method

  1. @override
bool visitCascadeExpression (
  1. CascadeExpression node
)
override

Implementation

@override
bool visitCascadeExpression(CascadeExpression node) {
  if (identical(node.target, _oldNode)) {
    node.target = _newNode as Expression;
    return true;
  } else if (_replaceInList(node.cascadeSections)) {
    return true;
  }
  return visitNode(node);
}