visitTypeName method

  1. @override
bool visitTypeName (TypeName node)
override

Implementation

@override
bool visitTypeName(TypeName node) {
  if (identical(node.name, _oldNode)) {
    node.name = _newNode as Identifier;
    return true;
  } else if (identical(node.typeArguments, _oldNode)) {
    node.typeArguments = _newNode as TypeArgumentList;
    return true;
  }
  return visitNode(node);
}