visitSpreadElement method

  1. @override
bool visitSpreadElement (SpreadElement node)
override

Implementation

@override
bool visitSpreadElement(SpreadElement node) {
  if (identical(node.expression, _oldNode)) {
    (node as SpreadElementImpl).expression = _newNode as Expression;
    return true;
  }
  return visitNode(node);
}