visitFunctionTypedFormalParameter method

  1. @override
bool visitFunctionTypedFormalParameter (
  1. FunctionTypedFormalParameter node
)
override

Implementation

@override
bool visitFunctionTypedFormalParameter(FunctionTypedFormalParameter node) {
  if (identical(node.returnType, _oldNode)) {
    node.returnType = _newNode as TypeAnnotation;
    return true;
  } else if (identical(node.parameters, _oldNode)) {
    node.parameters = _newNode as FormalParameterList;
    return true;
  }
  return visitNormalFormalParameter(node);
}