visitLabeledStatement method

  1. @override
bool visitLabeledStatement (LabeledStatement node)
override

Implementation

@override
bool visitLabeledStatement(LabeledStatement node) {
  if (identical(node.statement, _oldNode)) {
    node.statement = _newNode as Statement;
    return true;
  } else if (_replaceInList(node.labels)) {
    return true;
  }
  return visitNode(node);
}