visitFunctionExpression method

  1. @override
bool visitFunctionExpression (
  1. FunctionExpression node
)
override

Implementation

@override
bool visitFunctionExpression(FunctionExpression node) {
  if (identical(node.parameters, _oldNode)) {
    node.parameters = _newNode as FormalParameterList;
    return true;
  } else if (identical(node.body, _oldNode)) {
    node.body = _newNode as FunctionBody;
    return true;
  }
  return visitNode(node);
}