visitYieldStatement method

  1. @override
bool visitYieldStatement (YieldStatement node)
override

Implementation

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