visitGenericFunctionType method

  1. @override
bool visitGenericFunctionType (
  1. GenericFunctionType node
)
override

Implementation

@override
bool visitGenericFunctionType(GenericFunctionType node) {
  if (identical(node.returnType, _oldNode)) {
    node.returnType = _newNode as TypeAnnotation;
    return true;
  } else if (identical(node.typeParameters, _oldNode)) {
    node.typeParameters = _newNode as TypeParameterList;
    return true;
  } else if (identical(node.parameters, _oldNode)) {
    node.parameters = _newNode as FormalParameterList;
    return true;
  }
  return null;
}