visitExpressionStatement method

  1. @override
bool visitExpressionStatement (ExpressionStatement node)
override

Implementation

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