visitNormalFormalParameter method

bool visitNormalFormalParameter (
  1. NormalFormalParameter node
)

Implementation

bool visitNormalFormalParameter(NormalFormalParameter node) {
  if (identical(node.documentationComment, _oldNode)) {
    node.documentationComment = _newNode as Comment;
    return true;
  } else if (identical(node.identifier, _oldNode)) {
    node.identifier = _newNode as SimpleIdentifier;
    return true;
  } else if (_replaceInList(node.metadata)) {
    return true;
  }
  return visitNode(node);
}