visitPrefixedIdentifier method

  1. @override
bool visitPrefixedIdentifier (
  1. PrefixedIdentifier node
)
override

Implementation

@override
bool visitPrefixedIdentifier(PrefixedIdentifier node) {
  if (identical(node.prefix, _oldNode)) {
    node.prefix = _newNode as SimpleIdentifier;
    return true;
  } else if (identical(node.identifier, _oldNode)) {
    node.identifier = _newNode as SimpleIdentifier;
    return true;
  }
  return visitNode(node);
}