visitForEachPartsWithIdentifier method

  1. @override
bool visitForEachPartsWithIdentifier (
  1. ForEachPartsWithIdentifier node
)
override

Implementation

@override
bool visitForEachPartsWithIdentifier(ForEachPartsWithIdentifier node) {
  if (identical(node.identifier, _oldNode)) {
    (node as ForEachPartsWithIdentifierImpl).identifier =
        _newNode as SimpleIdentifier;
    return true;
  } else if (identical(node.iterable, _oldNode)) {
    (node as ForEachPartsWithIdentifierImpl).iterable =
        _newNode as Expression;
    return true;
  }
  return visitNode(node);
}