visitPropertyAccess method

  1. @override
bool visitPropertyAccess (
  1. PropertyAccess node
)
override

Implementation

@override
bool visitPropertyAccess(PropertyAccess node) {
  if (identical(node.target, _oldNode)) {
    node.target = _newNode as Expression;
    return true;
  } else if (identical(node.propertyName, _oldNode)) {
    node.propertyName = _newNode as SimpleIdentifier;
    return true;
  }
  return visitNode(node);
}