visitFunctionDeclarationStatement method

  1. @override
bool visitFunctionDeclarationStatement (FunctionDeclarationStatement node)
override

Implementation

@override
bool visitFunctionDeclarationStatement(FunctionDeclarationStatement node) {
  if (identical(node.functionDeclaration, _oldNode)) {
    node.functionDeclaration = _newNode as FunctionDeclaration;
    return true;
  }
  return visitNode(node);
}